aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/compactcas.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-12-01 07:57:13 -0500
committerGitHub <[email protected]>2023-12-01 13:57:13 +0100
commit2755b0dbfd47237e018048598e9c85c71b9a0736 (patch)
treeca1e55c43555fc2ff43455f8dfc4ac28daebe42b /src/zenstore/compactcas.cpp
parentadd separate PreCache step for GcReferenceChecker (#578) (diff)
downloadzen-2755b0dbfd47237e018048598e9c85c71b9a0736.tar.xz
zen-2755b0dbfd47237e018048598e9c85c71b9a0736.zip
use 32 bit offset and size in BlockStoreLocation (#581)
- Improvement: Reduce memory usage in GC and diskbucket flush
Diffstat (limited to 'src/zenstore/compactcas.cpp')
-rw-r--r--src/zenstore/compactcas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenstore/compactcas.cpp b/src/zenstore/compactcas.cpp
index e9a0a437b..5de82f219 100644
--- a/src/zenstore/compactcas.cpp
+++ b/src/zenstore/compactcas.cpp
@@ -130,7 +130,7 @@ void
CasContainerStrategy::Initialize(const std::filesystem::path& RootDirectory,
const std::string_view ContainerBaseName,
uint32_t MaxBlockSize,
- uint64_t Alignment,
+ uint32_t Alignment,
bool IsNewStore)
{
ZEN_ASSERT(IsPow2(Alignment));