aboutsummaryrefslogtreecommitdiff
path: root/zenstore/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-04-07 23:34:15 +0200
committerDan Engelbrecht <[email protected]>2022-04-12 22:20:47 +0200
commit5e43b80df4cf8fff6bd350139783fb15d9d25207 (patch)
tree48421b9efa7e4ee9bb75ccd308a5b98118937926 /zenstore/include
parentcleaner GatherReferences (diff)
downloadzen-5e43b80df4cf8fff6bd350139783fb15d9d25207.tar.xz
zen-5e43b80df4cf8fff6bd350139783fb15d9d25207.zip
correct expire vs contribute
Diffstat (limited to 'zenstore/include')
-rw-r--r--zenstore/include/zenstore/gc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/zenstore/include/zenstore/gc.h b/zenstore/include/zenstore/gc.h
index bc8dee9a3..6268588ec 100644
--- a/zenstore/include/zenstore/gc.h
+++ b/zenstore/include/zenstore/gc.h
@@ -53,7 +53,7 @@ public:
void ContributeCids(std::span<const IoHash> Cid);
void ContributeCas(std::span<const IoHash> Hash);
- void ContributeCacheKeys(const std::string& Bucket, std::vector<IoHash> ValidKeys, std::vector<IoHash> ExpiredKeys);
+ void ContributeCacheKeys(const std::string& Bucket, std::vector<IoHash>&& ExpiredKeys);
void IterateCids(std::function<void(const IoHash&)> Callback);
@@ -64,7 +64,6 @@ public:
void DeletedCas(std::span<const IoHash> Cas);
CasChunkSet& DeletedCas();
- std::span<const IoHash> ValidCacheKeys(const std::string& Bucket) const;
std::span<const IoHash> ExpiredCacheKeys(const std::string& Bucket) const;
bool IsDeletionMode() const;