aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* changelog (#99)Dan Engelbrecht2024-08-062-3/+21
| | | Skip and report invalid configurations for workspaces instead of crashing
* hardening read of corrupt oplog (#98)Dan Engelbrecht2024-08-062-24/+51
| | | * Add extra validation of oplog entries when reading oplog
* don't assert that we have moved bytes if source block is zero size (#97)Dan Engelbrecht2024-06-144-3/+5
| | | | * don't assert that we have moved bytes if source block is zero size * handle invalid session ids gracefully
* workspace share path hardening (#95)Dan Engelbrecht2024-06-144-6/+53
| | | | | | * resolve relative paths for root path * block share paths that go outside of root path * fix test using invalid share_path * validate that root path is absolute
* improve mutex startup error (#96)Dan Engelbrecht2024-06-142-2/+10
| | | * separate collision of shared mutex from failure to create shared mutex
* 5.5.3v5.5.3Dan Engelbrecht2024-06-131-1/+1
|
* changelogDan Engelbrecht2024-06-131-4/+6
|
* changelogDan Engelbrecht2024-06-131-1/+1
|
* 5.5.3-pre3v5.5.3-pre3Dan Engelbrecht2024-06-131-1/+1
|
* Skip open process handle caching if we don't have a session id (#94)Dan Engelbrecht2024-06-132-0/+5
| | | * Don't try to cache process handle if we don't have a session id
* 5.5.3-pre2v5.5.3-pre2Dan Engelbrecht2024-06-131-1/+1
|
* Make sure we monitor for new project, oplogs, namespaces and buckets during ↵Dan Engelbrecht2024-06-1310-292/+998
| | | | | | GCv2 (#93) - Bugfix: Make sure we monitor and include new project/oplogs created during GCv2 - Bugfix: Make sure we monitor and include new namespaces/cache buckets created during GCv2
* 5.5.3-pre1v5.5.3-pre1Dan Engelbrecht2024-06-111-1/+1
|
* workspaces config and fixes (#92)Dan Engelbrecht2024-06-115-170/+147
| | | | * fix alias request capture * use single config file for workspaces
* 5.5.3-pre0v5.5.3-pre0Dan Engelbrecht2024-06-041-1/+1
|
* workspace share aliases (#91)Dan Engelbrecht2024-06-047-247/+678
| | | | | | | - Add `zen workspace-share` `--root-path` option - the root local file path of the workspace - if given it will automatically create the workspace before creating the share. If `--workspace` is omitted, an id will be generated from the `--root-path` parameter - Add `/ws/share/{alias}/` endpoint - a shortcut to `/ws/{workspace_id}/{share_id}/` based endpoints using the alias for a workspace share - Add `--alias` option to replace `--workspace` and `--share` options for `workspace-share` zen commands - Rename `zen workspace create` `folder` option to `root-path` - Rename `zen workspace create` `folder` option to `share-path`
* add batching of CacheStore requests for GetCacheValues/GetCacheChunks (#90)Dan Engelbrecht2024-06-048-121/+680
| | | | | | * cache file size of block on open * add ability to control size limit for small chunk callback when iterating block * Add batch fetch of cache values in the GetCacheValues request
* Use a smaller thread pool for network operations when doing oplog import to ↵Dan Engelbrecht2024-05-303-2/+4
| | | | | reduce risk NIC/router failure (#89) Medium worker pool now uses a minimum of 2 threads (up from 1)
* cache optimizations (#88)Dan Engelbrecht2024-05-309-47/+63
| | | | | * message formatting optimizations * bump iostorecompression small value threshold to 1MB
* workspaces review feedbackDan Engelbrecht2024-05-292-5/+5
|
* workspace shares (#84)Dan Engelbrecht2024-05-2924-50/+3369
| | | Feature: New 'workspaces' service which allows a user to share a local folder via zenserver. A workspace can have mulitple workspace shares and they provie an HTTP API that is compatible with the project oplog HTTP API. Workspaces and shares are preserved between runs. Workspaces feature is disabled by default - enable with --workspaces-enabled option when launching zenserver.
* 5.5.2v5.5.2Dan Engelbrecht2024-05-281-1/+1
|
* 5.5.2-pre3v5.5.2-pre3Dan Engelbrecht2024-05-271-1/+1
|
* changelogDan Engelbrecht2024-05-271-0/+2
|
* don't use "error:" in log messages unless there is an error (#87)Dan Engelbrecht2024-05-272-2/+3
| | | Improvement: Don't use "error:" in log messages unless there is an error as Horde CI will pick up that log line and interpret it as an error
* fix iterate chunks crash (#86)Dan Engelbrecht2024-05-272-0/+2
| | | * fix worklatch count in Oplog::IterateChunks
* release 5.4.5 (#80)Dan Engelbrecht2024-05-211-2/+4
| | | | | * Correctly calculate memory view size from Mid/MidInline function if size is not given * If we get a request for a partial chunk that can not be fulfilled we warn and treat it as a miss * 5.4.5
* iobuffer memstomp fix (#85)Dan Engelbrecht2024-05-213-3/+16
| | | | | * Don't try to validate empty compact binary * Don't try to free fake memory buffer pointer in iobuffer destructor
* refactor BlockStore IterateChunks (#77)Dan Engelbrecht2024-05-175-279/+309
| | | Improvement: Refactored IterateChunks to allow reuse in diskcachelayer and hide public GetBlockFile() function in BlockStore
* safer partial requests (#82)Dan Engelbrecht2024-05-172-37/+48
| | | | * fix partial cache miss logging * Handle zero size partial requests safer