diff options
| author | Dan Engelbrecht <[email protected]> | 2023-10-30 18:29:09 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-30 18:29:09 +0100 |
| commit | cbdda104ada38108700f9da5b192867d83074119 (patch) | |
| tree | 98c04b344e041c156fdc1a5c393672bef743be34 /src/zenstore/filecas.h | |
| parent | fix changelog (diff) | |
| download | zen-cbdda104ada38108700f9da5b192867d83074119.tar.xz zen-cbdda104ada38108700f9da5b192867d83074119.zip | |
individual gc stats (#506)
- Feature: New parameter for endpoint `admin/gc` (GET) `details=true` which gives details stats on GC operation when using GC V2
- Feature: New options for zen command `gc-status`
- `--details` that enables the detailed output from the last GC operation when using GC V2
Diffstat (limited to 'src/zenstore/filecas.h')
| -rw-r--r-- | src/zenstore/filecas.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zenstore/filecas.h b/src/zenstore/filecas.h index 2e9a1d5dc..c39a39bb7 100644 --- a/src/zenstore/filecas.h +++ b/src/zenstore/filecas.h @@ -44,7 +44,8 @@ struct FileCasStrategy final : public GcStorage, public GcReferenceStore virtual void CollectGarbage(GcContext& GcCtx) override; virtual GcStorageSize StorageSize() const override; - virtual GcReferencePruner* CreateReferencePruner(GcCtx& Ctx) override; + virtual std::string GetGcName(GcCtx& Ctx) override; + virtual GcReferencePruner* CreateReferencePruner(GcCtx& Ctx, GcReferenceStoreStats& Stats) override; private: void MakeIndexSnapshot(); |