aboutsummaryrefslogtreecommitdiff
path: root/zenstore/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-09-08 10:54:31 +0200
committerGitHub <[email protected]>2022-09-08 01:54:31 -0700
commit033e742c5102df67c000e2b281152fd37f59afb3 (patch)
treea395e3b22d94b890148745eeff796550f8e3a411 /zenstore/include
parent0.1.4-pre27 (diff)
downloadzen-033e742c5102df67c000e2b281152fd37f59afb3.tar.xz
zen-033e742c5102df67c000e2b281152fd37f59afb3.zip
Remove legacy code (#161)
* changelog * remove obsolete legacy code
Diffstat (limited to 'zenstore/include')
-rw-r--r--zenstore/include/zenstore/blockstore.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/zenstore/include/zenstore/blockstore.h b/zenstore/include/zenstore/blockstore.h
index fe435cdff..db32efb9f 100644
--- a/zenstore/include/zenstore/blockstore.h
+++ b/zenstore/include/zenstore/blockstore.h
@@ -123,7 +123,6 @@ public:
typedef std::function<uint64_t()> ClaimDiskReserveCallback;
typedef std::function<void(size_t ChunkIndex, const void* Data, uint64_t Size)> IterateChunksSmallSizeCallback;
typedef std::function<void(size_t ChunkIndex, BlockStoreFile& File, uint64_t Offset, uint64_t Size)> IterateChunksLargeSizeCallback;
- typedef std::function<void(const MovedChunksArray& MovedChunks)> SplitCallback;
typedef std::function<void(const BlockStoreLocation& Location)> WriteChunkCallback;
void Initialize(const std::filesystem::path& BlocksBasePath,
@@ -151,15 +150,6 @@ public:
const IterateChunksSmallSizeCallback& SmallSizeCallback,
const IterateChunksLargeSizeCallback& LargeSizeCallback);
- static bool Split(const std::vector<BlockStoreLocation>& ChunkLocations,
- const std::filesystem::path& SourceBlockFilePath,
- const std::filesystem::path& BlocksBasePath,
- uint64_t MaxBlockSize,
- uint64_t MaxBlockCount,
- size_t PayloadAlignment,
- bool CleanSource,
- const SplitCallback& Callback);
-
static const char* GetBlockFileExtension();
static std::filesystem::path GetBlockPath(const std::filesystem::path& BlocksBasePath, const uint32_t BlockIndex);