aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 5.4.2-pre1Dan Engelbrecht2024-03-141-1/+1
|
* special treatment large oplog attachments v2 (#5)Dan Engelbrecht2024-03-1416-654/+1953
| | | | | - Bugfix: Install Ctrl+C handler earlier when doing `zen oplog-export` and `zen oplog-export` to properly cancel jobs - Improvement: Add ability to block a set of CAS entries from GC in project store - Improvement: Large attachments and loose files are now split into smaller chunks and stored in blocks during oplog export
* clean up test linking (#4)Dan Engelbrecht2024-03-1424-634/+416
| | | | | | | - Improvement: Add zenhttp-test and zenutil-test - Improvement: Moved cachepolicy test to cachepolicy.cpp - Improvement: Renamed cachestore tests from z$ to cachestore - Improvement: Moved test linking so test for a lib is linked by <lib>-test - Improvement: Removed HttpRequestParseRelativeUri in httpstructuredcache.cpp and use the one in cacherequests.h instead
* change code owners for Enterprise github user names (#7)Stefan Boberg2024-03-141-5/+5
|
* HTTP request logging (#6)Stefan Boberg2024-03-145-31/+109
| | | this change adds support for tracing http payloads when using the asio path. This was already supported when using the `--http=plugin` path and this change moves some code into a shared class for reuse.
* added notes on how to install git hooksStefan Boberg2024-03-131-0/+1
|
* Update README.mdStefan Boberg2024-03-131-1/+1
| | | updated pre-commit installation instructions
* fix potential partially written files (#2)Dan Engelbrecht2024-03-136-17/+49
| | | | * Make sure WriteFile() does not leave incomplete files * use TemporaryFile and MoveTemporaryIntoPlace to avoid leaving partial files on error
* updates to signingStefan Boberg2024-03-132-3/+4
| | | | | macOS signs executables again Windows releases do not (neither does validate)
* workflow tweaksStefan Boberg2024-03-122-9/+9
|
* workflow fixes (#1)Stefan Boberg2024-03-123-32/+35
| | | | | * update validate action for enterprise github * updated runner setup options * updated release workflow for enterprise github
* http request parser safety (#664)Dan Engelbrecht2024-03-123-3/+11
| | | | * make sure we don't add more headers than we support * don't capture for loop variables by reference for async work
* fix zenserver state macos (#669)Dan Engelbrecht2024-03-104-8/+52
| | | | | | - Shared memory for zenserver state may hang around after all zenserver processes exit - make sure we find a valid entry in `zen up` before bailing - Httpasio add retry for desired port - Httpasio only call listen() once - Httpasio explicitly close acceptor sockets
* Add WriteMeasuredVarUInt to avoid measuring ints twice before writing (#665)Dan Engelbrecht2024-03-062-26/+53
| | | | Avoid double resize of buffer in CbWriter::SetName and CbWriter::AddBinary Add WriteMeasuredVarUInt to avoid measuring ints twice before writing
* also update validate to avoid code sign problemsStefan Boberg2024-03-051-1/+2
|
* disable official signing of windows executables (#667)Dan Engelbrecht2024-03-051-1/+2
|
* some asio HTTP server tweaks for correctness (#663)Stefan Boberg2024-03-052-9/+12
|
* 5.4.2-pre0v5.4.2-pre0Dan Engelbrecht2024-02-281-1/+1
|
* Make sure we wait for all scheduled tasks to complete before throwing ↵Dan Engelbrecht2024-02-288-62/+146
| | | | | exceptions further (#662) Bugfix: We must not throw exceptions to calling function until all async work we spawned has returned
* add disk caching to block move (#661)Dan Engelbrecht2024-02-272-23/+37
| | | * add disk caching to block move
* improved block store logging and more gcv2 tests (#659)Dan Engelbrecht2024-02-278-114/+217
| | | | * improved gc/blockstore logging * more gcv2 tests
* remove reference caching (#658)Dan Engelbrecht2024-02-278-699/+199
| | | * remove reference caching
* hashing fixes (#657)Dan Engelbrecht2024-02-2612-97/+178
| | | | | * move structuredcachestore tests to zenstore-test * Don't materialize entire files when hashing if it is a large files * rewrite CompositeBuffer::Mid to never materialize buffers
* adding context to http.sys error messageStefan Boberg2024-02-202-5/+16
| | | | added some context to http.sys API call error reporting
* 5.4.1v5.4.1Dan Engelbrecht2024-02-131-1/+1
|
* Keep track of added ops during GCV2 instead of rescanning full oplog when ↵Dan Engelbrecht2024-02-133-8/+26
| | | | added ops are detected (#652)
* 5.4.1-pre4v5.4.1-pre4Dan Engelbrecht2024-02-121-1/+1
|
* Added --copy-log, --copy-cache-log and copy-http-log option to zen logs ↵Dan Engelbrecht2024-02-126-20/+82
| | | | | | command (#651) * be safe and use ToText() rather than AsText() when getting http responses * Added `--copy-log`, `--copy-cache-log` and `copy-http-log` option to zen logs command to copy logs from a local running zen server instance
* Save compressed large attachments to temporary files on disk (#650)Dan Engelbrecht2024-02-125-190/+221
| | | | | | | | | * Save large compressed large attachments to temporary files on disk * bump oplog block max size up to 64Mb again * Make sure CompositeBuffer::AppendBuffers actually moves inputs when it should * removed parallell execution of fetching payload for block assembly it was not actually helping and added complexity * make sure we move/release payload buffers as soon as possible * make sure we don't read in full large attachments to memory when computing hash
* minor docs updatesv5.4.1-pre3v5.4.1-pre2Stefan Boberg2024-02-072-1/+18
|
* Add testcase and fix for ASIO ipv4 localhost support (#649)zousar2024-02-063-14/+87
| | | - Bugfix: Implement two listening sockets in ASIO (ipv4+ipv6) when either we start with `--http-forceloopback` or we resort to that mode because of a failure to bind to the "any" address
* 5.4.1-pre1v5.4.1-pre1Dan Engelbrecht2024-02-051-1/+1
|
* compress large attachments on demand (#647)Dan Engelbrecht2024-02-057-390/+566
| | | | | | | - Improvement: Speed up oplog export by fetching/compressing big attachments on demand - Improvement: Speed up oplog export by batch-fetcing small attachments - Improvement: Speed up oplog import by batching writes of oplog ops - Improvement: Tweak oplog export default block size and embed size limit - Improvement: Add more messaging and progress during oplog import/export
* 5.4.1-pre0v5.4.1-pre0Dan Engelbrecht2024-02-051-1/+1
|
* respond with BadRequest result instead of throwing exception on bad request ↵Dan Engelbrecht2024-02-054-17/+46
| | | | input (#648)
* added robin-map dependency to zenutilStefan Boberg2024-02-011-1/+1
|
* changed RPC recording to MPSC setup (#638)Stefan Boberg2024-01-317-94/+185
| | | fixes rare race condition when using RPC recording for long periods of time
* only try to traverse an objectstore bucket if it really exists (#646)Dan Engelbrecht2024-01-312-0/+2
| | | * Only try to traverse a objectstore bucket if it really exists
* Actually thow exception if we can't parse the jobid when starting async job ↵Dan Engelbrecht2024-01-314-4/+18
| | | | | | (#645) Return system error code on exception throw in zen command Clean up HttpClient::Response::ErrorMessage to remove redundant ": "
* improve oplog export logging (#644)Dan Engelbrecht2024-01-3110-126/+236
| | | | | | - Improvement: More details in oplog import/export logs - Improvement: Switch from Download to Get when fetching Refs from Jupiter as they can't be resumed anyway and streaming to disk is redundant - Bugfix: Make sure we clear read callback when doing Put in HttpClient to avoid timeout due to not sending data when reusing sessions - Bugfix: Respect `--ignore-missing-attachments` in `oplog-export` command when loose file is missing on disk
* Update README.mdStefan Boberg2024-01-311-1/+1
|
* Update README.mdStefan Boberg2024-01-301-4/+7
|
* Update README.mdStefan Boberg2024-01-301-8/+4
|
* changelogDan Engelbrecht2024-01-301-0/+2
|
* 5.4.0v5.4.0Dan Engelbrecht2024-01-291-1/+1
|
* 0.2.40-pre0v0.2.40-pre0Dan Engelbrecht2024-01-291-1/+1
|
* fix response error conversion (#643)Dan Engelbrecht2024-01-294-6/+8
| | | | * make sure we properly convert compact-binary results to text when receiving errors * log fix
* exception on basicfile read error (#642)Dan Engelbrecht2024-01-293-10/+33
| | | | | * Change BasicFile::Read to throw exception like IoBuffer - Don't ASSERT on dwNumberOfBytesRead == NumberOfBytesToRead - throw exception with details instead - Use proper return type for pread()
* 0.2.39v0.2.39Dan Engelbrecht2024-01-261-1/+1
|
* 0.2.39-pre3v0.2.39-pre3Dan Engelbrecht2024-01-251-1/+1
|