Closed as not planned
Description
Problem
#4210 bumped the rust-rocksdb version from 0.22.0 to 0.23.0 (which implicitly bumped the underlying rocksdb tag).
I observed an issue with the following setup:
agave-validator
is running withPrimary
access (validator ALWAYS hasPrimary
access for R+W)agave-ledger-tool
command is executed to access blockstore withSecondary
access
The issue I'm observing is that Blockstore::open()
is not returning in agave-ledger-tool
. Something that takes 10-20 seconds on a MNB blockstore is taking multiple minutes before I kill it. I bisected and confirmed that the version bump is what introduced this regression.
Proposed Solution
- For now, I am going to revert the version bump so that the tip of master doesn't have this bug
- Debug what changed from 0.22.0 to 0.23.0 (including the delta in the actual rocksdb). The process is either hung or taking way too long, so building with debug symbols (
cargo build --profile release-with-debug
) and attachinggdb
toagave-ledger-tool
should be fairly illuminating
Metadata
Metadata
Assignees
Labels
No labels