diff options
| author | Dan Engelbrecht <[email protected]> | 2024-09-25 10:21:53 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-09-25 10:21:53 +0200 |
| commit | e27a5da5dae33f958a4b809a9e20a0af33c24f90 (patch) | |
| tree | 3f22bdba794108fa2a4a4d5d1fc308a986b3483b /src/zen/cmds/admin_cmd.cpp | |
| parent | exception safety when writing block (#168) (diff) | |
| download | archived-zen-e27a5da5dae33f958a4b809a9e20a0af33c24f90.tar.xz archived-zen-e27a5da5dae33f958a4b809a9e20a0af33c24f90.zip | |
Add `gc-attachment-passes` option to zenserver (#167)
Added option `gc-attachment-passes` to zenserver
Cleaned up GCv2 start and stop logs and added identifier to easily find matching start and end of a GC pass in log file
Fixed project store not properly sorting references found during lock phase
Diffstat (limited to 'src/zen/cmds/admin_cmd.cpp')
| -rw-r--r-- | src/zen/cmds/admin_cmd.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/zen/cmds/admin_cmd.cpp b/src/zen/cmds/admin_cmd.cpp index dd0bf83de..fbac0bbf3 100644 --- a/src/zen/cmds/admin_cmd.cpp +++ b/src/zen/cmds/admin_cmd.cpp @@ -205,12 +205,10 @@ GcCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv) { throw OptionParseException(fmt::format("invalid reference range, reference-high must be higher value than reference-low")); } - if (LowRef != IoHash::Zero) + + if (!m_ReferenceHashLow.empty() || !m_ReferenceHashHigh.empty()) { Params.Add({"referencehashlow", LowRef.ToHexString()}); - } - if (HighRef != IoHash::Max) - { Params.Add({"referencehashhigh", HighRef.ToHexString()}); } |