From 1cc3ebd8b68f08e41b418a599a9da80e29aa27e4 Mon Sep 17 00:00:00 2001 From: Aleksandr Logunov Date: Tue, 18 Jul 2023 15:45:00 +0400 Subject: [PATCH] refactor: todo to remove flat storage creation parameters (#9250) Recommend future readers to stop considering these parameters, because heavy flat storage migration already happened on all nodes in the ecosystem. So this case shouldn't complicate work like #9121. --- core/store/src/config.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/store/src/config.rs b/core/store/src/config.rs index 18fc123108f..77d20c6b331 100644 --- a/core/store/src/config.rs +++ b/core/store/src/config.rs @@ -85,14 +85,17 @@ pub struct StoreConfig { /// Number of threads to execute storage background migrations. /// Needed to create flat storage which need to happen in parallel /// with block processing. + /// TODO (#8826): remove, because creation successfully happened in 1.34. pub background_migration_threads: usize, /// Enables background flat storage creation. + /// TODO (#8826): remove, because creation successfully happened in 1.34. pub flat_storage_creation_enabled: bool, /// Duration to perform background flat storage creation step. Defines how /// frequently we check creation status and execute work related to it in /// main thread (scheduling and collecting state parts, catching up blocks, etc.). + /// TODO (#8826): remove, because creation successfully happened in 1.34. pub flat_storage_creation_period: Duration, /// Enables state snapshot at the beginning of epochs.