| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
| |
| | |
* do not allow exceptions to leak from Sentry error reporting or SentryAssertImpl::OnAssert
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Feature: New endpoint `/admin/logs` to query status of logging and log file locations and cache logging
- `enablewritelog`=`true`/`false` parameter to control cache write logging
- `enableaccesslog`=`true`/`false` parameter to control cache access logging
- `loglevel` = `trace`/`debug`/`info`/`warning`/`error`
- Feature: New zen command `logs` to query/control zen logging
- No arguments gives status of logging and paths to log files
- `--cache-write-log` `enable`/`disable` to control cache write logging
- `--cache-access-log` `enable`/`disable` to control cache access logging
- `--loglevel` `trace`/`debug`/`info`/`warning`/`error` to set debug level
|
| | |
| |
| |
| |
| |
| | |
* added name to http.sys request queue
* changed so that rejected requests are answered with a 403 response instead of just dropping the connection
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* move commands in scrub.h/cpp to admin_cmd.h/cpp
* move job command into admin_cmd.h/.cpp
* admin -> admin_cmd
* bench -> bench_cmd
* cache -> cache_cmd
* copy -> copy_cmd
* dedup -> dedup_cmd
* hash -> hash_cmd
* print -> print_cmd
* projectstore -> projectstore_cmd
* rpcreplay -> rpcreplay_cmd
* serve -> serve_cmd
* status -> status_cmd
* top -> top_cmd
* trace -> trace_cmd
* up -> up_cmd
* version -> version_cmd
|
| | |
| |
| |
| |
| | |
* add trace command to enable/disable tracing at runtime
* rework tracing init/start/stop
* changelog
|
| |/ |
|
| |
|
|
| |
Improvement: Background jobs now temporarily sets thread name to background job name while executing
Improvement: Background jobs tracks worker thread id used while executing
|
| |
|
| |
* Do controlled shutdown of zenserver catching any exception thrown during shutdown
|
| | |
|
| |
|
| |
currently, only Windows (using Projected File System) is supported
|
| |
|
|
| |
* increase jupiter oplog import/export connection timeout to 30 min
* changelog
|
| |
|
|
|
| |
* Add retry if FinalizeRef responds with non-empty "Needs" attachments
* better logging/progress report
* changelog
|
| |
|
|
| |
* handle errors in spdlog gracefully - try to report and avoid termination
* changelog
|
| |
|
|
|
| |
* add DiskWriteBlocker to structured cache store log writer
* changelog
|
| |
|
|
|
| |
* more trace scopes
* Make sure ReplayLogEntries uses the correct size for oplog buffer
* changelog
|
| |
|
|
| |
under heavy load, an async response could end up deleting the HTTP transaction object before the issuing call had completed
|
| |
|
|
|
| |
Cache: requestcount, badrequestcount, writes
Project Store: requestcount
Cid Store: cidhits, cidmisses, cidwrites
|
| |
|
|
| |
* Added `--http-threads`, `--httpsys-async-work-threads`, `--httpsys-enable-request-logging` and `--httpsys-enable-async-response` command line options to zenserver
* remove unused CreateHttpSysServer
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Feature: New http endpoint for background jobs `/admin/jobs/status` which will return a response listing the currently active background jobs and their status
- Feature: New http endpoint for background jobs information `/admin/jobs/status/{jobid}` which will return a response detailing status, pending messages and progress status
- GET will return a response detailing status, pending messages and progress status
- DELETE will mark the job for cancelling and return without waiting for completion
- If status returned is "Complete" or "Aborted" the jobid will be removed from the server and can not be queried again
- Feature: New zen command `jobs` to list, get info about and cancel background jobs
- If no options are given it will display a list of active background jobs
- `--jobid` accepts an id (returned from for example `oplog-export` with `--async`) and will return a response detailing status, pending messages and progress status for that job
- `--cancel` can be added when `--jobid` is given which will request zenserver to cancel the background job
- Feature: oplog import and export http rpc requests are now async operations that will run in the background
- Feature: `oplog-export` and `oplog-import` now reports progress to the console as work progress by default
- Feature: `oplog-export` and `oplog-import` can now be cancelled using Ctrl+C
- Feature: `oplog-export` and `oplog-import` has a new option `--async` which will only trigger the work and report a background job id back
|
| |
|
|
| |
* scan oplog object for fields
* Read all oplog entries but only read op data and get mapping for latest op of each key
|
| |
|
| |
* issue warning instead of assert on bad data in cid store
|
| |
|
| |
* Don't index out of string_view range when parsing URI in httpsys
|
| | |
|
| |
|
|
| |
* added std::hash implementation for Guid and Oid types
* Added CombineHashes implementation
|
| |
|
| |
this change also adds a GetNamespaces function which may be used to enumerate all currently known cache namespaces
|
| |
|
|
|
|
|
| |
* add option for base container for oplog export
read base oplog and fetch known blocks
* reuse blocks if a known block has 80+ % usage
* changelog
* better logging and added base to remotestore descriptions
|
| |
|
|
|
| |
get file name from handle (#393)
- Bugfix: Make sure error logging or destructors don't throw exception when trying to get file name from handle
|
| |
|
|
|
|
|
| |
* gracefully handle errors when writing cache log
* changelog
* fix log message
|
| |
|
| |
* add `cache-write-log` and `cache-access-log´ configuration options
|
| |
|
|
|
| |
- sort attachments based on (first) associated op
- sort attachments based on key of op to get a more consistent order rather than order of ops written
- keep attachments from same op in same block
|
| |
|
|
| |
properly set trace log level if IsVerbose
add log category to http client
|
| |
|
|
| |
convert project store commands to use http client
use MakeCbObjectPayload everywhere in project store commands
|
| |
|
| |
* extend http client with configuration, headers, parameters and disk streaming upload/download
|
| |
|
|
|
|
|
|
|
|
| |
* stream large downloads from jupiter to temporary file
* rework DeleteOnClose - top level marks file for delete and if lower level parts wants to keep it it clears that flag
* changelog
* log number of attachments to download
* add delay on jupiter request failure when retrying
* make sure we upload all attachments even if Needs are empty when ForceUpload is true
release TempAttachment as soon as it is used
* sort attachments so we get predictable blocks for the same oplog
|
| |
|
|
|
| |
* add retry logic when creating files
* only write disk usage log if disk writes are allowed
* changelog
|
| |
|
|
|
|
|
|
|
|
| |
- Feature: `zen up` command has two new command line options
- `--config <file_path>` tells zenserver to start with a specific config file
- `--owner-pid <pid>` tells zenserver to start with a owning process id
- Feature: `zen attach` command to add additional owning processes to a running zenserver instance
- `--owner-pid <pid>` adds pid to running zenserver instance list of owning processes
- Feature: `--write-config` command line option for zenserver
- `--write-config <file_path>` path to a file which will contain a lua config file for zenserver combining all command line options and optional lua config files
- Improvement: `zen up` command will check if zenserver is currently running before starting up a new instance
|
| |
|
|
|
|
| |
- Bugfix: All options given on command line now overrides lua config file settings
- Improvement: All options available from command line can now be configured in the lua config file (with a few exceptions such as `owner-pid`, `install` and `uninstall`)
We can now also generate a Lua config (just string so far) that includes all options given on command line together with any optional Lua input config file. The idea here is to be able to save config options in the future.
|
| |
|
|
| |
* Trying to recursively take a shared RWLock while another thread is waiting for a exclusive lock results in a deadlock. Forward the shared lock so we don't have to grab it recursively.
* changelog
|
| |
|
|
| |
* use MAP_SHARED when initializing read only access of shared memory
* changelog
|
| | |
|
| |
|
|
| |
busy-looping looking for more work
|
| |
|
|
| |
* Add `--embedloosefiles` option to `oplog-export` which adds loose files to the export, removing need to call `oplog-snapshot`
* Retain `ServerPath` in oplog when performing `oplog-snapshot`. This is a short-term fix for current incompatability with the UE cooker.
|
| |
|
|
| |
* - Bugfix: Fix OpenProcessCache state error causing assert/error
* changelog
|
| |
|
| |
* - Improvement: Make sure we have disk space available to do GC and use reserve up front if need be
|
| | |
|
| | |
|
| |
|
|
|
|
| |
(#370)
* use better hash function for better distribution in IoBuffer g_MappingLocks
* changelog
|
| |
|
|
|
| |
* Use robin-map in compactcas for 30% faster CasContainerStrategy::CollectGarbage
* use robin_set in ProjectStore::Oplog::GatherReferences and BlockStore::ReclaimSpace
* changelog
|
| | |
|
| |
|
|
|
| |
* add BasicFileBuffer for buffered read of BasicFile
* Use BasicFileBuffer when reading oplog
* changelog
|