aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* move gc logs to gc logger (#142)Dan Engelbrecht2024-09-048-12/+87
| | | - Improvement: Move GC logging in callback functions into "gc" context
* delay oplog read (#141)Dan Engelbrecht2024-09-033-145/+214
| | | - Improvement: Don't keep all oplogs open after GC, close them when references are fetched unless they are open by client
* oplog index snapshots (#140)Dan Engelbrecht2024-09-037-207/+741
| | | - Feature: Added project store oplog index snapshots for faster opening of oplog - opening oplogs are roughly 10x faster
* meta info store (#75)Dan Engelbrecht2024-08-3014-63/+620
| | | | - Feature: Added option `--gc-cache-attachment-store` which caches referenced attachments in cache records on disk for faster GC - default is `false` - Feature: Added option `--gc-projectstore-attachment-store` which caches referenced attachments in project store oplogs on disk for faster GC - default is `false`
* zenserver process launch/termination improvements (#138)Dan Engelbrecht2024-08-279-131/+327
| | | | | | * zenserver process launch/termination improvements * fix GetPidStatus to return error code on Linux * fix linux FindProcess() * cleanup IsZombieProcess
* Make sure `noexcept` functions does not leak exceptions (#136)Dan Engelbrecht2024-08-234-169/+214
|
* v5.5.5v5.5.5Dan Engelbrecht2024-08-231-1/+1
|
* 5.5.5-pre1v5.5.5-pre1Dan Engelbrecht2024-08-221-1/+1
|
* don't call sentry_set_user twice (#135)Dan Engelbrecht2024-08-221-2/+3
| | | use a temp variable that lives longer to make sentry happy
* 5.5.5-pre0v5.5.5-pre0Dan Engelbrecht2024-08-221-1/+1
|
* Add zenserver session id to Sentry context (#133)Dan Engelbrecht2024-08-223-3/+7
|
* separate worker pools into burst/background to avoid background jobs ↵Dan Engelbrecht2024-08-229-90/+77
| | | | blocking client requests (#134)
* safer calls to IsProcessRunning (#131)Dan Engelbrecht2024-08-223-16/+64
| | | * safer calls to IsProcessRunning to handle cases where we can't check status of processes
* if a zenserver is already using our named mutex - exit with error code ↵Dan Engelbrecht2024-08-223-7/+16
| | | | instead of reporting error to Sentry (#132)
* remove bad assert when payload is memcached but metadata is not set (#130)Dan Engelbrecht2024-08-222-1/+1
|
* handle "path not found" as well as "file not found" in directory travers on ↵Dan Engelbrecht2024-08-202-1/+2
| | | | windows (#129)
* close payload file if size mismatch for file cas (#128)Dan Engelbrecht2024-08-202-2/+3
|
* demote project store access time read fail to warning (#127)Dan Engelbrecht2024-08-202-1/+2
|
* don't throw exception if sidecar file is missing (#126)Dan Engelbrecht2024-08-192-1/+15
| | | | * Don't throw exception if sidecar file is missing. * Log reasons for rejecting sidecar file
* verify that project oplog dir exists before trying to iterate it (#123)Dan Engelbrecht2024-08-192-5/+12
|
* if disk space is low, set the last gc time to avoid spamming retries (#124)Dan Engelbrecht2024-08-192-0/+3
| | | * if disk space is low, set the last gc time to avoid spamming retries
* cleaned up top level xmake (#125)Stefan Boberg2024-08-191-14/+12
|
* If we fail to get compression info for a partial request - log and report a ↵Dan Engelbrecht2024-08-192-6/+21
| | | | | miss (#122) * If we fail to get compression info for a partial request - log and report a miss
* 5.5.4v5.5.4Dan Engelbrecht2024-08-161-1/+1
|
* enable mimalloc on arm64 (#120)Stefan Boberg2024-08-162-10/+9
| | | * enable mimalloc on arm64
* 5.5.4-pre3v5.5.4-pre3Dan Engelbrecht2024-08-151-1/+1
|
* fix oplog compact size logDan Engelbrecht2024-08-151-1/+1
|
* enable sentry on arm64 (#119)Stefan Boberg2024-08-154-9/+9
| | | * enable sentry on arm64
* prevent new block in gc (#118)Dan Engelbrecht2024-08-152-1/+2
| | | * make sure we don't reset write-pos for new block for each block iterated
* 5.5.4-pre2v5.5.4-pre2Dan Engelbrecht2024-08-151-1/+1
|
* adds more information in log when oplog rename/delete fails (#117)Dan Engelbrecht2024-08-152-6/+29
| | | | | | * adds more information in log when oplog rename/delete fails * warn if we fail to delete dropped directory * close oplog storage file inside try/catch * don't try to flush closed files
* 5.5.4-pre1v5.5.4-pre1Dan Engelbrecht2024-08-141-1/+1
|
* improved logging removing unimportant information (#116)Dan Engelbrecht2024-08-142-24/+34
|
* added `--detach` option to zenserver (#115)Stefan Boberg2024-08-145-5/+42
| | | | | added `--detach` option to zenserver. When this is passed in with a false value, we do not create a new process group in order to behave more as expected when running with `xmake run zenserver`. Without this change the zenserver process does not receive any signals and won't exit when xmake does, causing processes to linger in the background. The default behaviour (when run from UE) is unchanged.
* updated Lucas-C/pre-commit-hooks to v1.3.1 to fix compilation on MacOS (#114)Stefan Boberg2024-08-141-1/+1
|
* amended .gitignore so xcode projects are excludedStefan Boberg2024-08-141-0/+1
|
* 5.5.4-pre0v5.5.4-pre0Dan Engelbrecht2024-08-141-1/+1
|
* hardening and reduced spam from GC on failure (#112)Dan Engelbrecht2024-08-143-143/+234
| | | | * Retry writing GC state if it fails to handle transient problems * If GC operation fails demote errors to warnings on consecutive fails
* improve logging on main failure (#111)Dan Engelbrecht2024-08-149-34/+41
| | | | | | * add support for indenting callstack output * Explicitly catch option-parse error and reduce log spam on bad parameters * add command line to sentry error reports * log command line at startup
* don't try to memcache the empty buffer if invalid format (#110)Dan Engelbrecht2024-08-132-1/+4
|
* add compacting of oplogs as part of GC (#106)Dan Engelbrecht2024-08-125-123/+483
| | | | * add compacting of oplogs as part of GC * force retain of LSN unless we have less than 16 miln entries left
* Skip chunk in block stores when iterating a block if the location is out of ↵Dan Engelbrecht2024-08-122-2/+8
| | | | range (#109)
* project store chunk requests that are out of range will be treated as not ↵Dan Engelbrecht2024-08-122-0/+27
| | | | | | found (#108) * project store chunk requests that are out of range will be treaded as not found * add chunkid to log
* make oplog lsn unsigned (#107)Dan Engelbrecht2024-08-124-45/+35
| | | * change oplog lsn to uint32
* project/oplog delete improvements (#105)Dan Engelbrecht2024-08-124-53/+112
| | | | | * make oplog/project folder removeal more robust * report back error to http caller if removal fails
* fix compilation issue with recent VS toolchains (#103)Stefan Boberg2024-08-071-2/+2
|
* add gc single threaded option (#104)Dan Engelbrecht2024-08-079-6/+42
| | | * add option to force gcv2 to run single threaded
* stop exceptions from leaking on threaded work (#102)Dan Engelbrecht2024-08-065-65/+116
| | | | * catch exceptions in threaded work * don't abort all project file/chunk info fetch for single failure
* validate cbobject before iterating for attachments to avoid crash on ↵Dan Engelbrecht2024-08-062-7/+11
| | | | malformed data (#101)
* improve iobuffer read error logs (#100)Dan Engelbrecht2024-08-062-23/+48
| | | * Make IoBufferExtendedCore::Materialize error reporting match Materialize