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

Adjust blockstore open logs to say blockstore instead of database #34672

Merged
merged 1 commit into from
Jan 6, 2024
Merged
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
6 changes: 3 additions & 3 deletions ledger/src/blockstore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ impl Blockstore {
adjust_ulimit_nofile(options.enforce_ulimit_nofile)?;

// Open the database
let mut measure = Measure::start("open");
info!("Opening database at {:?}", blockstore_path);
let mut measure = Measure::start("blockstore open");
info!("Opening blockstore at {:?}", blockstore_path);
let db = Database::open(&blockstore_path, options)?;

let meta_cf = db.column();
Expand Down Expand Up @@ -353,7 +353,7 @@ impl Blockstore {
let max_root = AtomicU64::new(max_root);

measure.stop();
info!("{:?} {}", blockstore_path, measure);
info!("Opening blockstore done; {measure}");
let blockstore = Blockstore {
ledger_path: ledger_path.to_path_buf(),
db,
Expand Down