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

store: allow configuring RocksDB with support for subset of columns #7544

Merged
merged 4 commits into from
Sep 5, 2022

Conversation

mina86
Copy link
Contributor

@mina86 mina86 commented Sep 3, 2022

With cold storage approaching, it’s gonig to be necessary to be able to
open RocksDB instance with only a subset of defined columns. Change how
RocksDB deals with column family handles. Specifically, get_cf_handles
now accepts an iterator over DBCol values as argument and cf_handle will
return an error if trying to get a handle for a column that wasn’t set
up.

With cold storage approaching, it’s gonig to be necessary to be able to
open RocksDB instance with only a subset of defined columns.  Change how
RocksDB deals with column family handles.  Specifically, get_cf_handles
now accepts an iterator over DBCol values as argument and cf_handle will
return an error if trying to get a handle for a column that wasn’t set
up.
@mina86 mina86 requested a review from a team as a code owner September 3, 2022 15:15
@mina86 mina86 requested a review from nikurt September 3, 2022 15:15
@near-bulldozer near-bulldozer bot merged commit 36e3162 into near:master Sep 5, 2022
@mina86 mina86 deleted the c branch September 5, 2022 12:43
nikurt pushed a commit that referenced this pull request Nov 9, 2022
…7544)

With cold storage approaching, it’s gonig to be necessary to be able to
open RocksDB instance with only a subset of defined columns.  Change how
RocksDB deals with column family handles.  Specifically, get_cf_handles
now accepts an iterator over DBCol values as argument and cf_handle will
return an error if trying to get a handle for a column that wasn’t set
up.
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.

3 participants