Skip to content

fix: locked database#77

Merged
troykessler merged 4 commits intomainfrom
fix/locked-database
Oct 25, 2024
Merged

fix: locked database#77
troykessler merged 4 commits intomainfrom
fix/locked-database

Conversation

@troykessler
Copy link
Member

For some cosmos-sdk versions like v0.47.8 the app binary shortly accesses the blockstore.db although it is started with --with-tendermint=false, resulting in a panic that the database is locked. This PR addresses this issue by rearranging the boot order of the binaries by first starting the app binary so it can open and close the blockstore.db (to retrieve the chain-id) and only after that will KSYNC open the blockstore.db for itself and lock it for the rest of the sync.

@troykessler troykessler self-assigned this Oct 24, 2024
@troykessler troykessler merged commit 7c2b914 into main Oct 25, 2024
@troykessler troykessler deleted the fix/locked-database branch December 5, 2024 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants