Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: disable pruner #175

Merged
merged 3 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions committer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,18 +92,22 @@ async fn main() -> Result<()> {
finalization_metric,
);

let state_pruner_handle = setup::state_pruner(
storage.clone(),
cancel_token.clone(),
&metrics_registry,
&config,
);
// Enable pruner once the issue is resolved
//TODO: https://github.com/FuelLabs/fuel-block-committer/issues/173
// let state_pruner_handle = setup::state_pruner(
// storage.clone(),
// cancel_token.clone(),
// &metrics_registry,
// &config,
// );

handles.push(state_committer_handle);
handles.push(state_importer_handle);
handles.push(block_bundler);
handles.push(state_listener_handle);
handles.push(state_pruner_handle);
// Enable pruner once the issue is resolved
//TODO: https://github.com/FuelLabs/fuel-block-committer/issues/173
// handles.push(state_pruner_handle);
}

launch_api_server(
Expand Down
3 changes: 3 additions & 0 deletions e2e/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ mod tests {
Ok(())
}

// Enable test once the issue is resolved
//TODO: https://github.com/FuelLabs/fuel-block-committer/issues/173
#[ignore]
#[tokio::test(flavor = "multi_thread")]
async fn old_state_will_be_pruned() -> Result<()> {
use services::state_pruner::port::Storage;
Expand Down
Loading