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

[bug] panic: leveldb closed in x/oracle/integration #1918

Closed
Unique-Divine opened this issue Jun 10, 2024 · 1 comment
Closed

[bug] panic: leveldb closed in x/oracle/integration #1918

Unique-Divine opened this issue Jun 10, 2024 · 1 comment

Comments

@Unique-Divine
Copy link
Member

Unique-Divine commented Jun 10, 2024

Context

I encountered a strange error in a GitHub action during the integration tests.

  1. Commit: 42a8b65

  2. Note: I'm unable to reproduce it locally and only started seeing these errors after upgrading cometbft to v0.37.5 and changing the default db backend from goleveldb to PebbleDB

Error Encountered

panic: leveldb: closed

goroutine 903 [running]:
github.com/cometbft/cometbft/store.(*BlockStore).LoadSeenCommit(0xc001b9e240, 0x251eecc?)
/home/runner/go/pkg/mod/github.com/cometbft/[email protected]/store/store.go:253 +0x2af
github.com/cometbft/cometbft/consensus.(*State).LoadCommit(0xc001b2d180, 0x3e)
/home/runner/go/pkg/mod/github.com/cometbft/[email protected]/consensus/state.go:296 +0x114
github.com/cometbft/cometbft/consensus.(*Reactor).queryMaj23Routine(0xc001454b40, {0x5c3f800, 0xc001a71a00}, 0xc001a71ad0?)
/home/runner/go/pkg/mod/github.com/cometbft/[email protected]/consensus/reactor.go:913 +0x1092
created by github.com/cometbft/cometbft/consensus.(*Reactor).AddPeer in goroutine 648
/home/runner/go/pkg/mod/github.com/cometbft/[email protected]/consensus/reactor.go:205 +0x37d
FAIL github.com/NibiruChain/nibiru/x/oracle/integration 77.655s


Related Tickets

@Unique-Divine
Copy link
Member Author

Note from @onikonychev: Using the verbose flag, "-v", in combination with race seems to remove the condition. This still needs more validation from CI runs on main, but the hypothesis seems to be correct based on the changes from #1912

Closing this for now unless the issue resurfaces

@github-project-automation github-project-automation bot moved this from ⚡ Building 🧱 to ✅ Completed in ⚛️ Nibiru (Hougyoku) Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant