Skip to content

Commit

Permalink
refactor: todo to remove flat storage creation parameters (#9250)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Longarithm authored Jul 18, 2023
1 parent 9654410 commit 1cc3ebd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/store/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1cc3ebd

Please sign in to comment.