aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-04-24 13:25:32 +0200
committerGitHub Enterprise <[email protected]>2024-04-24 13:25:32 +0200
commit8be0f10d5fb575f343d91a2398a6d603eb84a445 (patch)
treebea4650f6e83a26069a558a8d3701c0764a3b38f /src/zenstore/include
parentbump vcpkg and xmake to latest (#40) (diff)
downloadzen-8be0f10d5fb575f343d91a2398a6d603eb84a445.tar.xz
zen-8be0f10d5fb575f343d91a2398a6d603eb84a445.zip
safer gcv2 on error (#60)
- Bugfix: Harden GCv2 when errors occur and gracefully abort GC operation on error
Diffstat (limited to 'src/zenstore/include')
-rw-r--r--src/zenstore/include/zenstore/gc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zenstore/include/zenstore/gc.h b/src/zenstore/include/zenstore/gc.h
index b7613883a..5262c6d2e 100644
--- a/src/zenstore/include/zenstore/gc.h
+++ b/src/zenstore/include/zenstore/gc.h
@@ -157,6 +157,8 @@ public:
// Remove data on disk based on results from GcReferencePruner::RemoveUnreferencedData
virtual void CompactStore(GcCtx& Ctx, GcCompactStoreStats& Stats, const std::function<uint64_t()>& ClaimDiskReserveCallback) = 0;
+
+ virtual std::string GetGcName(GcCtx& Ctx) = 0;
};
/**