aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzousar <[email protected]>2025-06-24 16:47:19 -0600
committerzousar <[email protected]>2025-06-24 16:47:19 -0600
commit45793f40c44e60185b149e5030539c679e874990 (patch)
treebe3f38ed401b43a74407d6b752f23de699895e67 /src
parentMerge branch 'main' into zs/put-overwrite-policy (diff)
downloadzen-45793f40c44e60185b149e5030539c679e874990.tar.xz
zen-45793f40c44e60185b149e5030539c679e874990.zip
xmake precommit
Diffstat (limited to 'src')
-rw-r--r--src/zenstore/cache/cacherpc.cpp8
-rw-r--r--src/zenstore/include/zenstore/cache/cachedisklayer.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/src/zenstore/cache/cacherpc.cpp b/src/zenstore/cache/cacherpc.cpp
index 436e8a083..5d9a68919 100644
--- a/src/zenstore/cache/cacherpc.cpp
+++ b/src/zenstore/cache/cacherpc.cpp
@@ -944,10 +944,10 @@ CacheRpcHandler::HandleRpcPutCacheValues(const CacheRequestContext& Context, con
const bool HasUpstream = m_UpstreamCache.IsActive();
CbArrayView RequestsArray = Params["Requests"sv].AsArrayView();
- std::vector<ZenCacheStore::PutResult> BatchResults;
- eastl::fixed_vector<size_t, 32> BatchResultIndexes;
- eastl::fixed_vector<ZenCacheStore::PutResult, 32> Results;
- eastl::fixed_vector<CacheKey, 32> UpstreamCacheKeys;
+ std::vector<ZenCacheStore::PutResult> BatchResults;
+ eastl::fixed_vector<size_t, 32> BatchResultIndexes;
+ eastl::fixed_vector<ZenCacheStore::PutResult, 32> Results;
+ eastl::fixed_vector<CacheKey, 32> UpstreamCacheKeys;
uint64_t RequestCount = RequestsArray.Num();
{
diff --git a/src/zenstore/include/zenstore/cache/cachedisklayer.h b/src/zenstore/include/zenstore/cache/cachedisklayer.h
index 11d13bede..903916137 100644
--- a/src/zenstore/include/zenstore/cache/cachedisklayer.h
+++ b/src/zenstore/include/zenstore/cache/cachedisklayer.h
@@ -244,14 +244,14 @@ public:
void Get(const IoHash& HashKey, GetBatchHandle& BatchHandle);
struct PutBatchHandle;
- PutBatchHandle* BeginPutBatch(std::vector<ZenCacheDiskLayer::PutResult>& OutResult);
- void EndPutBatch(PutBatchHandle* Batch) noexcept;
+ PutBatchHandle* BeginPutBatch(std::vector<ZenCacheDiskLayer::PutResult>& OutResult);
+ void EndPutBatch(PutBatchHandle* Batch) noexcept;
PutResult Put(const IoHash& HashKey,
const ZenCacheValue& Value,
std::span<IoHash> References,
bool Overwrite,
PutBatchHandle* OptionalBatchHandle);
- uint64_t MemCacheTrim(GcClock::TimePoint ExpireTime);
+ uint64_t MemCacheTrim(GcClock::TimePoint ExpireTime);
std::function<void()> Drop();
void Flush();
void ScrubStorage(ScrubContext& Ctx);