aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/cache
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenstore/cache')
-rw-r--r--src/zenstore/cache/cachedisklayer.cpp3
-rw-r--r--src/zenstore/cache/structuredcachestore.cpp11
2 files changed, 3 insertions, 11 deletions
diff --git a/src/zenstore/cache/cachedisklayer.cpp b/src/zenstore/cache/cachedisklayer.cpp
index 7274626ee..1ffc959e7 100644
--- a/src/zenstore/cache/cachedisklayer.cpp
+++ b/src/zenstore/cache/cachedisklayer.cpp
@@ -2868,7 +2868,8 @@ public:
}
return true;
},
- ClaimDiskReserveCallback);
+ ClaimDiskReserveCallback,
+ fmt::format("GCV2: cachebucket [COMPACT] '{}': ", m_Bucket.m_BucketDir));
}
else
{
diff --git a/src/zenstore/cache/structuredcachestore.cpp b/src/zenstore/cache/structuredcachestore.cpp
index 32a2a2aa3..7ef290cf5 100644
--- a/src/zenstore/cache/structuredcachestore.cpp
+++ b/src/zenstore/cache/structuredcachestore.cpp
@@ -871,15 +871,6 @@ namespace testutils {
return {Key, Buffer};
}
- struct FalseType
- {
- static const bool Enabled = false;
- };
- struct TrueType
- {
- static const bool Enabled = true;
- };
-
} // namespace testutils
TEST_CASE("z$.store")
@@ -1217,7 +1208,7 @@ TEST_CASE("z$.gc")
}
}
-TEST_CASE_TEMPLATE("z$.threadedinsert", GCV2, testutils::FalseType, testutils::TrueType) // * doctest::skip(true))
+TEST_CASE_TEMPLATE("z$.threadedinsert", GCV2, FalseType, TrueType) // * doctest::skip(true))
{
// for (uint32_t i = 0; i < 100; ++i)
{