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: introduce cold storage #7871

Merged
merged 10 commits into from
Oct 25, 2022
Merged

store: introduce cold storage #7871

merged 10 commits into from
Oct 25, 2022

Conversation

mina86
Copy link
Contributor

@mina86 mina86 commented Oct 19, 2022

Add a cold_store Cargo feature which enables the option to configure
the node with cold storage. At the moment, all this does is open the
cold database and doesn’t enable any other features. The idea is that
this can now allow experimenting with code that needs access to the
cold storage.

@mina86 mina86 requested a review from posvyatokum October 19, 2022 02:22
@mina86 mina86 requested a review from a team as a code owner October 19, 2022 02:22
@mina86 mina86 requested a review from akhi3030 October 19, 2022 02:22
@akhi3030
Copy link
Collaborator

@posvyatokum: I'm happy to approve once your reviews are in and you approve.

Copy link
Member

@posvyatokum posvyatokum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good, all my comments are about comments.

core/store/src/opener.rs Outdated Show resolved Hide resolved
core/store/src/opener.rs Outdated Show resolved Hide resolved
nearcore/src/lib.rs Outdated Show resolved Hide resolved
Having conversion from near_chain_primitves::Error to TxStatusError
eliminates a handful of trivial map_error calls.
@near-bulldozer near-bulldozer bot merged commit 4bc5141 into master Oct 25, 2022
@near-bulldozer near-bulldozer bot deleted the mpn-cold branch October 25, 2022 11:35
nikurt pushed a commit that referenced this pull request Oct 25, 2022
Add a `cold_store` Cargo feature which enables the option to configure
the node with cold storage.  At the moment, all this does is open the
cold database and doesn’t enable any other features.  The idea is that
this can now allow experimenting with code that needs access to the
cold storage.
nikurt pushed a commit that referenced this pull request Nov 7, 2022
Add a `cold_store` Cargo feature which enables the option to configure
the node with cold storage.  At the moment, all this does is open the
cold database and doesn’t enable any other features.  The idea is that
this can now allow experimenting with code that needs access to the
cold storage.
nikurt pushed a commit that referenced this pull request Nov 9, 2022
Add a `cold_store` Cargo feature which enables the option to configure
the node with cold storage.  At the moment, all this does is open the
cold database and doesn’t enable any other features.  The idea is that
this can now allow experimenting with code that needs access to the
cold storage.
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