From 5e285dcaf77db014ac85d6f96ff392fe461945f5 Mon Sep 17 00:00:00 2001 From: Stefan Schneider Date: Wed, 24 Apr 2024 13:35:23 +0000 Subject: [PATCH] feat: Enable new storage layer This commit enables the new storage layer based on log-structured merge trees (LSMT). The new design allows us to improve checkpointing by replacing reflinks with hardlinks. This is particularly beneficial to performance with large canister states. --- rs/config/src/state_manager.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rs/config/src/state_manager.rs b/rs/config/src/state_manager.rs index ea71bd9c3df..329e6e8111c 100644 --- a/rs/config/src/state_manager.rs +++ b/rs/config/src/state_manager.rs @@ -47,7 +47,7 @@ fn file_backed_memory_allocator_default() -> FlagStatus { pub fn lsmt_config_default() -> LsmtConfig { LsmtConfig { - lsmt_status: FlagStatus::Disabled, + lsmt_status: FlagStatus::Enabled, // 40GiB // DO NOT CHANGE after LSMT is enabled, as it would crash the new replica trying to merge // old data.