Skip to content

Commit

Permalink
[helm][aptos-node] config for incremental pruning
Browse files Browse the repository at this point in the history
  • Loading branch information
rustielin committed Jul 22, 2022
1 parent 38b1b4c commit 194a924
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion terraform/helm/aptos-node/files/configs/fullnode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ storage:
storage_pruner_config:
ledger_prune_window: {{ int $.Values.validator.config.ledger_prune_window }}
state_store_prune_window: {{ int $.Values.validator.config.state_store_prune_window }}
pruning_batch_size: {{ int $.Values.validator.config.pruning_batch_size }}
ledger_pruning_batch_size: {{ int $.Values.validator.config.ledger_pruning_batch_size }}
state_store_pruning_batch_size: {{ int $.Values.validator.config.state_store_pruning_batch_size }}

full_node_networks:
- network_id:
Expand Down
3 changes: 2 additions & 1 deletion terraform/helm/aptos-node/files/configs/validator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ storage:
storage_pruner_config:
ledger_prune_window: {{ int $.Values.validator.config.ledger_prune_window }}
state_store_prune_window: {{ int $.Values.validator.config.state_store_prune_window }}
pruning_batch_size: {{ int $.Values.validator.config.pruning_batch_size }}
ledger_pruning_batch_size: {{ int $.Values.validator.config.ledger_pruning_batch_size }}
state_store_pruning_batch_size: {{ int $.Values.validator.config.state_store_pruning_batch_size }}

execution:
genesis_file_location: /opt/aptos/genesis/genesis.blob
Expand Down
3 changes: 2 additions & 1 deletion terraform/helm/aptos-node/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ validator:
quorum_store_poll_count: 1
ledger_prune_window: 10000000
state_store_prune_window: 1000000
pruning_batch_size: 10000
ledger_pruning_batch_size: 10000
state_store_pruning_batch_size: 10000
enableNetworkPolicy: true

fullnode:
Expand Down

0 comments on commit 194a924

Please sign in to comment.