Skip to content

Commit

Permalink
[storage] debugging no retry
Browse files Browse the repository at this point in the history
  • Loading branch information
areshand committed Dec 7, 2023
1 parent 1bc66bb commit 37e2d3a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion storage/db-tool/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ mod utils;

use anyhow::Result;
use aptos_db::db_debugger;
use aptos_logger::info;
use clap::Parser;

#[derive(Parser)]
Expand Down Expand Up @@ -43,7 +44,11 @@ impl DBTool {
DBTool::BackupMaintenance(cmd) => cmd.run().await,
DBTool::Bootstrap(cmd) => cmd.run(),
DBTool::Debug(cmd) => cmd.run(),
DBTool::ReplayVerify(cmd) => cmd.run().await,
DBTool::ReplayVerify(cmd) => {
let ret = cmd.run().await;
info!("Replay verify result: {:?}", ret);
ret
},
DBTool::Restore(cmd) => cmd.run().await,
}
}
Expand Down
1 change: 1 addition & 0 deletions storage/db-tool/src/replay_verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ impl Opt {
process::exit(2);
},
_ => {
info!("ReplayVerify coordinator exiting with error: {:?}", e);
process::exit(1);
},
},
Expand Down

0 comments on commit 37e2d3a

Please sign in to comment.