-
Notifications
You must be signed in to change notification settings - Fork 961
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
fix(share/eds)!: use separate badger for inverted index #2517
fix(share/eds)!: use separate badger for inverted index #2517
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having same badger instance for dagstore shards and inverted index has proven to have hangup on Put operation for 1-10min.
According to @musalbas, no hangup happens with a single instance with 20 compactors. Is it worth verifying again to avoid having two badgers when we can have one only?
Considering inverted index is major bottleneck right now an we plan to remove it soon. I think it is worth to do separate badgers just for sake of easy migration. If we keep inverted index in same badger as shards badger, we would need to manually remove each key. It would mean to find all keys by prefix and remove them one by one, which will take ages. I've started test to try 20 compactors on single badger |
Agreed |
We still may wanna keep all the storage-breaking PRs together in a dedicated branch |
…ger_for_inverted_index # Conflicts: # go.mod
…2517) Having same badger instance for dagstore shards and inverted index has proven to have hangup on Put operation for 1-10min. During tests it has shown, that splitting badger into 2 instances solves the hangup issue. Also once celestiaorg#2479 is implemented and inverted index will needs to be removed. Separate badger will be much easier for users migration.
…2517) Having same badger instance for dagstore shards and inverted index has proven to have hangup on Put operation for 1-10min. During tests it has shown, that splitting badger into 2 instances solves the hangup issue. Also once celestiaorg#2479 is implemented and inverted index will needs to be removed. Separate badger will be much easier for users migration.
…2517) Having same badger instance for dagstore shards and inverted index has proven to have hangup on Put operation for 1-10min. During tests it has shown, that splitting badger into 2 instances solves the hangup issue. Also once celestiaorg#2479 is implemented and inverted index will needs to be removed. Separate badger will be much easier for users migration.
Having same badger instance for dagstore shards and inverted index has proven to have hangup on
Put
operation for 1-10min. During tests it has shown, that splitting badger into 2 instances solves the hangup issue.Also once #2479 is implemented and inverted index will needs to be removed. Separate badger will be much easier for users migration.