Skip to content

Commit

Permalink
[pruner] enable epoch pruner (MystenLabs#7545)
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenix-o authored Jan 20, 2023
1 parent 6bfd48d commit 4943e66
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions crates/sui-config/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ impl AuthorityStorePruningConfig {
objects_num_latest_versions_to_retain: 2,
objects_pruning_period_secs: 24 * 60 * 60,
objects_pruning_initial_delay_secs: 60 * 60,
num_latest_epoch_dbs_to_retain: usize::MAX,
num_latest_epoch_dbs_to_retain: 3,
epoch_db_pruning_period_secs: 60 * 60,
}
}
Expand All @@ -309,7 +309,7 @@ impl AuthorityStorePruningConfig {
objects_num_latest_versions_to_retain: 5,
objects_pruning_period_secs: 24 * 60 * 60,
objects_pruning_initial_delay_secs: 60 * 60,
num_latest_epoch_dbs_to_retain: usize::MAX,
num_latest_epoch_dbs_to_retain: 3,
epoch_db_pruning_period_secs: 60 * 60,
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ validator_configs:
objects-num-latest-versions-to-retain: 2
objects-pruning-period-secs: 86400
objects-pruning-initial-delay-secs: 3600
num-latest-epoch-dbs-to-retain: 18446744073709551615
num-latest-epoch-dbs-to-retain: 3
epoch-db-pruning-period-secs: 3600
end-of-epoch-broadcast-channel-capacity: 128
checkpoint-executor-config:
Expand Down Expand Up @@ -131,7 +131,7 @@ validator_configs:
objects-num-latest-versions-to-retain: 2
objects-pruning-period-secs: 86400
objects-pruning-initial-delay-secs: 3600
num-latest-epoch-dbs-to-retain: 18446744073709551615
num-latest-epoch-dbs-to-retain: 3
epoch-db-pruning-period-secs: 3600
end-of-epoch-broadcast-channel-capacity: 128
checkpoint-executor-config:
Expand Down Expand Up @@ -198,7 +198,7 @@ validator_configs:
objects-num-latest-versions-to-retain: 2
objects-pruning-period-secs: 86400
objects-pruning-initial-delay-secs: 3600
num-latest-epoch-dbs-to-retain: 18446744073709551615
num-latest-epoch-dbs-to-retain: 3
epoch-db-pruning-period-secs: 3600
end-of-epoch-broadcast-channel-capacity: 128
checkpoint-executor-config:
Expand Down Expand Up @@ -265,7 +265,7 @@ validator_configs:
objects-num-latest-versions-to-retain: 2
objects-pruning-period-secs: 86400
objects-pruning-initial-delay-secs: 3600
num-latest-epoch-dbs-to-retain: 18446744073709551615
num-latest-epoch-dbs-to-retain: 3
epoch-db-pruning-period-secs: 3600
end-of-epoch-broadcast-channel-capacity: 128
checkpoint-executor-config:
Expand Down Expand Up @@ -332,7 +332,7 @@ validator_configs:
objects-num-latest-versions-to-retain: 2
objects-pruning-period-secs: 86400
objects-pruning-initial-delay-secs: 3600
num-latest-epoch-dbs-to-retain: 18446744073709551615
num-latest-epoch-dbs-to-retain: 3
epoch-db-pruning-period-secs: 3600
end-of-epoch-broadcast-channel-capacity: 128
checkpoint-executor-config:
Expand Down Expand Up @@ -399,7 +399,7 @@ validator_configs:
objects-num-latest-versions-to-retain: 2
objects-pruning-period-secs: 86400
objects-pruning-initial-delay-secs: 3600
num-latest-epoch-dbs-to-retain: 18446744073709551615
num-latest-epoch-dbs-to-retain: 3
epoch-db-pruning-period-secs: 3600
end-of-epoch-broadcast-channel-capacity: 128
checkpoint-executor-config:
Expand Down Expand Up @@ -466,7 +466,7 @@ validator_configs:
objects-num-latest-versions-to-retain: 2
objects-pruning-period-secs: 86400
objects-pruning-initial-delay-secs: 3600
num-latest-epoch-dbs-to-retain: 18446744073709551615
num-latest-epoch-dbs-to-retain: 3
epoch-db-pruning-period-secs: 3600
end-of-epoch-broadcast-channel-capacity: 128
checkpoint-executor-config:
Expand Down

0 comments on commit 4943e66

Please sign in to comment.