diff options
| author | Stefan Boberg <[email protected]> | 2021-08-26 16:15:30 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-08-26 16:15:30 +0200 |
| commit | 647b43f4195bb6c0f172614bde8bb71e259c9cf3 (patch) | |
| tree | 5b9f989c6da4dab08c5bbcf9bb56171b4bbfe90a /zenstore/include | |
| parent | Added GetLastErrorAsString() to retrieve error string for last Windows API er... (diff) | |
| download | zen-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.h | 9 |
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: |