aboutsummaryrefslogtreecommitdiff
path: root/zenstore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-08-26 16:15:30 +0200
committerStefan Boberg <[email protected]>2021-08-26 16:15:30 +0200
commit647b43f4195bb6c0f172614bde8bb71e259c9cf3 (patch)
tree5b9f989c6da4dab08c5bbcf9bb56171b4bbfe90a /zenstore/include
parentAdded GetLastErrorAsString() to retrieve error string for last Windows API er... (diff)
downloadzen-647b43f4195bb6c0f172614bde8bb71e259c9cf3.tar.xz
zen-647b43f4195bb6c0f172614bde8bb71e259c9cf3.zip
Added missing lock to side channel InsertChunk() implementation
Previously, this could cause file contention as two threads would try to create the same chunk file
Diffstat (limited to 'zenstore/include')
-rw-r--r--zenstore/include/zenstore/CAS.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/zenstore/include/zenstore/CAS.h b/zenstore/include/zenstore/CAS.h
index ec594af8b..b4de533dd 100644
--- a/zenstore/include/zenstore/CAS.h
+++ b/zenstore/include/zenstore/CAS.h
@@ -28,6 +28,15 @@ struct CasStoreConfiguration
uint64_t HugeValueThreshold = 1024 * 1024;
};
+/** Garbage Collection context object
+ */
+
+class GcContext
+{
+public:
+private:
+};
+
class CasChunkSet
{
public: