diff options
| author | Dan Engelbrecht <[email protected]> | 2022-06-07 22:27:13 +0200 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2022-06-07 22:27:13 +0200 |
| commit | 3f3e91a6a1721a1a532ed296dd6e830fcfda8118 (patch) | |
| tree | 887596c8f2c00199df6f722d15576a047c2b9f15 /zenstore/include | |
| parent | Merge pull request #120 from EpicGames/de/fix-failed-to-finalize-file (diff) | |
| download | zen-3f3e91a6a1721a1a532ed296dd6e830fcfda8118.tar.xz zen-3f3e91a6a1721a1a532ed296dd6e830fcfda8118.zip | |
We need to make each Cache Key contribution per bucket unique even across namespaces
Diffstat (limited to 'zenstore/include')
| -rw-r--r-- | zenstore/include/zenstore/gc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zenstore/include/zenstore/gc.h b/zenstore/include/zenstore/gc.h index 6268588ec..a3ad19e10 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>&& ExpiredKeys); + void ContributeCacheKeys(const std::string& CacheKeyContext, std::vector<IoHash>&& ExpiredKeys); void IterateCids(std::function<void(const IoHash&)> Callback); @@ -64,7 +64,7 @@ public: void DeletedCas(std::span<const IoHash> Cas); CasChunkSet& DeletedCas(); - std::span<const IoHash> ExpiredCacheKeys(const std::string& Bucket) const; + std::span<const IoHash> ExpiredCacheKeys(const std::string& CacheKeyContext) const; bool IsDeletionMode() const; void SetDeletionMode(bool NewState); |