| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
| |
* add CacheGenerateCommand
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
* optimized ValidateCbUInt
* optimized iohash comparision
* replace unordered set/map with tsl/robin set/map in blockstore
* increase max buffer size when writing cache bucket sidecar
* only store meta data for files < 4Gb
* faster ReadAttachmentsFromMetaData
* remove memcpy call in BlockStoreDiskLocation
* only write cache bucket state to disk if GC deleted anything
|
| |
|
|
|
| |
fix oplog state check
fix wipe of oplog storage + meta only on invalid oplog
handle vanishing oplog during gc
|
| |
|
|
|
|
| |
- Improvement: Removed redundant commands `project-delete` and `oplog-delete`. Use already existing `project-drop` instead.
- Improvement: zen oplog commands `project-drop`, `project-info`, `oplog-create`, `oplog-import`, `oplog-mirror` can now help resolve partial project and oplog identifiers
- Improvement: zen `oplog-mirror` command now has new filter options to control which files are realized to disk: `--key` for op key, `--file` for file path matching and `--chunk` for chunk id matching
- Improvement: `project-drop` command defaults to `--dry-run=true` and will only delete the target if `--dry-run=false` is added to the command line to avoid accidental delete
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
(#151)
|
| |
|
| |
* fix race condition in zenserver duing batched fetch
|
| |
|
| |
* clean up logging
|
| |
|
| |
* fixed parsing and added extra validation of oplog index snapshot
|
| | |
|
| |
|
|
| |
- Bugfix: If we fail to move a temporary file into place, try to re-open the file so we clean it up
- Improvement: Clean up cache bucket log files at startup as we store the matching information in the index snapshot for the bucket
|
| |
|
| |
- Improvement: Move GC logging in callback functions into "gc" context
|
| |
|
| |
- Improvement: Don't keep all oplogs open after GC, close them when references are fetched unless they are open by client
|
| |
|
| |
- Feature: Added project store oplog index snapshots for faster opening of oplog - opening oplogs are roughly 10x faster
|
| |
|
|
| |
- 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
* fix GetPidStatus to return error code on Linux
* fix linux FindProcess()
* cleanup IsZombieProcess
|
| | |
|
| |
|
| |
use a temp variable that lives longer to make sentry happy
|
| | |
|
| |
|
|
| |
blocking client requests (#134)
|
| |
|
| |
* safer calls to IsProcessRunning to handle cases where we can't check status of processes
|
| |
|
|
| |
instead of reporting error to Sentry (#132)
|
| | |
|
| |
|
|
| |
windows (#129)
|
| | |
|
| | |
|
| |
|
|
| |
* Don't throw exception if sidecar file is missing.
* Log reasons for rejecting sidecar file
|
| | |
|
| |
|
| |
* if disk space is low, set the last gc time to avoid spamming retries
|
| |
|
|
|
| |
miss (#122)
* If we fail to get compression info for a partial request - log and report a miss
|
| | |
|
| |
|
| |
* enable sentry on arm64
|
| |
|
| |
* make sure we don't reset write-pos for new block for each block iterated
|
| |
|
|
|
|
| |
* 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
|
| | |
|
| |
|
|
|
| |
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.
|
| |
|
|
| |
* Retry writing GC state if it fails to handle transient problems
* If GC operation fails demote errors to warnings on consecutive fails
|
| |
|
|
|
|
| |
* 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
|
| | |
|
| |
|
|
| |
* add compacting of oplogs as part of GC
* force retain of LSN unless we have less than 16 miln entries left
|
| |
|
|
| |
range (#109)
|
| |
|
|
|
|
| |
found (#108)
* project store chunk requests that are out of range will be treaded as not found
* add chunkid to log
|
| |
|
| |
* change oplog lsn to uint32
|
| |
|
|
|
| |
* make oplog/project folder removeal more robust
* report back error to http caller if removal fails
|
| | |
|