diff options
| author | Dan Engelbrecht <[email protected]> | 2024-10-03 16:42:57 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-10-03 16:42:57 +0200 |
| commit | b13b5f48bb497aaf9f9f3d74aceb6e474cf12898 (patch) | |
| tree | 24b1ed63ece11fb773a0ecf41ce6308969468198 /src/zenstore/cas.cpp | |
| parent | 5.5.9-pre0 (diff) | |
| download | zen-b13b5f48bb497aaf9f9f3d74aceb6e474cf12898.tar.xz zen-b13b5f48bb497aaf9f9f3d74aceb6e474cf12898.zip | |
remove gc v1 (#121)
* kill gc v1
* block use of gc v1 from zen command line
* warn and flip to gcv2 if --gc-v2=false is specified for zenserver
Diffstat (limited to 'src/zenstore/cas.cpp')
| -rw-r--r-- | src/zenstore/cas.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/zenstore/cas.cpp b/src/zenstore/cas.cpp index 871558a52..bff221fc7 100644 --- a/src/zenstore/cas.cpp +++ b/src/zenstore/cas.cpp @@ -62,7 +62,6 @@ public: WorkerThreadPool* OptionalWorkerPool) override; virtual void Flush() override; virtual void ScrubStorage(ScrubContext& Ctx) override; - virtual void GarbageCollect(GcContext& GcCtx) override; virtual CidStoreSize TotalSize() const override; private: @@ -459,16 +458,6 @@ CasImpl::ScrubStorage(ScrubContext& Ctx) m_LargeStrategy.ScrubStorage(Ctx); } -void -CasImpl::GarbageCollect(GcContext& GcCtx) -{ - ZEN_TRACE_CPU("Cas::GarbageCollect"); - - m_SmallStrategy.CollectGarbage(GcCtx); - m_TinyStrategy.CollectGarbage(GcCtx); - m_LargeStrategy.CollectGarbage(GcCtx); -} - CidStoreSize CasImpl::TotalSize() const { |