Skip to content

Commit

Permalink
feat: Enable new storage layer
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
schneiderstefan authored and pietrodimarco-dfinity committed Apr 25, 2024
1 parent 80e0363 commit 5e285dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rs/config/src/state_manager.rs
Expand Up @@ -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.
Expand Down

0 comments on commit 5e285dc

Please sign in to comment.