diff options
| author | Dan Engelbrecht <[email protected]> | 2023-10-20 11:02:02 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-20 11:02:02 +0200 |
| commit | 42cf81240256b92ef423a15add32d8b564375c7d (patch) | |
| tree | 2ec5103d1e1278b3b727955a6f92e99f8451ea1d /src/zenstore/gc.cpp | |
| parent | Change shared server config to use port 8558 (diff) | |
| download | zen-42cf81240256b92ef423a15add32d8b564375c7d.tar.xz zen-42cf81240256b92ef423a15add32d8b564375c7d.zip | |
Add --skip-delete option to gc command (#484)
- Feature: Add `--skip-delete` option to gc command
- Bugfix: Fix implementation when claiming GC reserve during GC
Diffstat (limited to 'src/zenstore/gc.cpp')
| -rw-r--r-- | src/zenstore/gc.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/zenstore/gc.cpp b/src/zenstore/gc.cpp index 0e4c49f65..3d8e66a8b 100644 --- a/src/zenstore/gc.cpp +++ b/src/zenstore/gc.cpp @@ -880,6 +880,10 @@ GcScheduler::SchedulerThread() { SkipCid = true; } + if (TriggerParams.SkipDelete) + { + DoDelete = false; + } } if (m_TriggerScrubParams) |