-
Notifications
You must be signed in to change notification settings - Fork 5
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
refac: RocksDB Column Families #871
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
marcospb19-cw
force-pushed
the
cf_poc
branch
10 times, most recently
from
May 24, 2024 23:31
1aa2f71
to
8230b3a
Compare
marcospb19-cw
force-pushed
the
cf_poc
branch
10 times, most recently
from
May 29, 2024 16:37
648bf38
to
5b324db
Compare
marcospb19-cw
force-pushed
the
cf_poc
branch
8 times, most recently
from
June 3, 2024 21:47
aa07e33
to
fa08beb
Compare
marcospb19-cw
force-pushed
the
cf_poc
branch
9 times, most recently
from
June 10, 2024 23:23
d1e7e44
to
523fe9e
Compare
marcospb19-cw
force-pushed
the
cf_poc
branch
6 times, most recently
from
June 17, 2024 22:10
61fc4b8
to
165ff10
Compare
marcospb19-cw
force-pushed
the
cf_poc
branch
2 times, most recently
from
June 18, 2024 19:38
5d22e14
to
8cfdf3c
Compare
previously, we used 7 synchronized RocksDB Databases, but with the lack of transaction support, we started facing synchronization problems in this PR we are switching away from multiple DBs and using a single DB with multiple column families (CFs), beyond solving the transaction problem, we also see a performance improvement for batch writes a Column Family (CF) can be thought as a table in PostgreSQL, where you can store data under different schemas, and have the same key pointing to two (or more) different pieces of data adding a prefix to the database path still works, but now it's for the single DB folder instead of the 7 folders like before --- squashed messages: - unify 7 DBs into one - optimize `save_block` - add flag to disable backups - stop bundling "current_block" and other data into the DBs - remove iterator support for special keys and indexes (bundled info) - make iterator exit on deserialization errors - change size of table caches - e2e: verify block number after resetting chain (to check `reset_at`) - simplify db creation for tests - refac stuff: docs, logs, rename, move code, optimize, fixes, etc - simplify `importer-offline` main
marcospb19-cw
changed the title
Use RocksDB Column Families
refac: RocksDB Column Families
Jul 21, 2024
marcospb19-cw
added a commit
that referenced
this pull request
Aug 7, 2024
this contribution was mistakenly removed by #871
marcospb19-cw
added a commit
that referenced
this pull request
Aug 7, 2024
this contribution was mistakenly removed by #871
Merged
marcospb19-cw
added a commit
that referenced
this pull request
Aug 7, 2024
marcospb19-cw
added a commit
that referenced
this pull request
Aug 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.