aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-09-22 14:59:42 +0200
committerGitHub Enterprise <[email protected]>2025-09-22 14:59:42 +0200
commitca2fd94c1a6098a6b7d44c5e9882862df2cc5ce8 (patch)
tree64d13f243ad9290ca73329f325a8c7bb1a4ec9a0 /src/zenstore/include
parentAdded `--oidctoken-exe-unattended` to`zen builds` and `zen oplog-download` co... (diff)
downloadzen-ca2fd94c1a6098a6b7d44c5e9882862df2cc5ce8.tar.xz
zen-ca2fd94c1a6098a6b7d44c5e9882862df2cc5ce8.zip
more responsive cancel during oplog import (#505)
- Improvement: Faster oplog import due to chunk existance check improvement - Improvement: Cancelling oplog import is now more responsive during initial phase
Diffstat (limited to 'src/zenstore/include')
-rw-r--r--src/zenstore/include/zenstore/blockstore.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/zenstore/include/zenstore/blockstore.h b/src/zenstore/include/zenstore/blockstore.h
index fce05766f..4006f4275 100644
--- a/src/zenstore/include/zenstore/blockstore.h
+++ b/src/zenstore/include/zenstore/blockstore.h
@@ -102,12 +102,12 @@ struct BlockStoreFile : public RefCounted
IoBuffer GetMetaData() const;
private:
- std::filesystem::path GetMetaPath() const;
- void RemoveMeta();
- const std::filesystem::path m_Path;
- IoBuffer m_IoBuffer;
- BasicFile m_File;
- std::atomic<uint64_t> m_CachedFileSize = 0;
+ std::filesystem::path GetMetaPath() const;
+ void RemoveMeta();
+ const std::filesystem::path m_Path;
+ IoBuffer m_IoBuffer;
+ BasicFile m_File;
+ mutable std::atomic<uint64_t> m_CachedFileSize = 0;
};
class BlockStoreCompactState;