-
Notifications
You must be signed in to change notification settings - Fork 635
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
feat: enable FlatState values inlining migration in the background #9093
Merged
near-bulldozer
merged 1 commit into
near:master
from
pugachAG:fs-value-inlining-background
May 25, 2023
Merged
feat: enable FlatState values inlining migration in the background #9093
near-bulldozer
merged 1 commit into
near:master
from
pugachAG:fs-value-inlining-background
May 25, 2023
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
pugachAG
force-pushed
the
fs-value-inlining-background
branch
from
May 23, 2023 12:16
5062a79
to
9affbcf
Compare
Longarithm
approved these changes
May 24, 2023
jbajic
approved these changes
May 24, 2023
pugachAG
force-pushed
the
fs-value-inlining-background
branch
2 times, most recently
from
May 25, 2023 09:24
5ce743b
to
4a7c519
Compare
pugachAG
force-pushed
the
fs-value-inlining-background
branch
from
May 25, 2023 17:03
4a7c519
to
b56325f
Compare
nikurt
pushed a commit
that referenced
this pull request
May 31, 2023
…9093) Part of #8243. This PR enables the migration added in #9037 to be executed in the background on the running node. It supports graceful stop when the node is shut down. The implementation is heavily inspired by state sync background dumping to S3. This PR also introduces a new column `DBCol::Misc`. For now it only stores the status of the migration, but it can hold any small pieces of data, similar to `DBCol::BlockMisc`. `FlatStorageManager` is exposed as part of `RuntimeAdapter` in this PR. This is the first step in cleaning `RuntimeAdapter` from all other flat storage related methods, as the manager can be directly used instead. Tested by manually running a node and checking metrics and log messages. After that flat storage was checked with `flat-storage verify` cmd.
nikurt
pushed a commit
to nikurt/nearcore
that referenced
this pull request
Jun 8, 2023
…ear#9093) Part of near#8243. This PR enables the migration added in near#9037 to be executed in the background on the running node. It supports graceful stop when the node is shut down. The implementation is heavily inspired by state sync background dumping to S3. This PR also introduces a new column `DBCol::Misc`. For now it only stores the status of the migration, but it can hold any small pieces of data, similar to `DBCol::BlockMisc`. `FlatStorageManager` is exposed as part of `RuntimeAdapter` in this PR. This is the first step in cleaning `RuntimeAdapter` from all other flat storage related methods, as the manager can be directly used instead. Tested by manually running a node and checking metrics and log messages. After that flat storage was checked with `flat-storage verify` cmd.
nikurt
pushed a commit
to nikurt/nearcore
that referenced
this pull request
Jun 8, 2023
…ear#9093) Part of near#8243. This PR enables the migration added in near#9037 to be executed in the background on the running node. It supports graceful stop when the node is shut down. The implementation is heavily inspired by state sync background dumping to S3. This PR also introduces a new column `DBCol::Misc`. For now it only stores the status of the migration, but it can hold any small pieces of data, similar to `DBCol::BlockMisc`. `FlatStorageManager` is exposed as part of `RuntimeAdapter` in this PR. This is the first step in cleaning `RuntimeAdapter` from all other flat storage related methods, as the manager can be directly used instead. Tested by manually running a node and checking metrics and log messages. After that flat storage was checked with `flat-storage verify` cmd.
nikurt
pushed a commit
that referenced
this pull request
Jun 13, 2023
…9093) Part of #8243. This PR enables the migration added in #9037 to be executed in the background on the running node. It supports graceful stop when the node is shut down. The implementation is heavily inspired by state sync background dumping to S3. This PR also introduces a new column `DBCol::Misc`. For now it only stores the status of the migration, but it can hold any small pieces of data, similar to `DBCol::BlockMisc`. `FlatStorageManager` is exposed as part of `RuntimeAdapter` in this PR. This is the first step in cleaning `RuntimeAdapter` from all other flat storage related methods, as the manager can be directly used instead. Tested by manually running a node and checking metrics and log messages. After that flat storage was checked with `flat-storage verify` cmd.
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.
Part of #8243.
This PR enables the migration added in #9037 to be executed in the background on the running node.
It supports graceful stop when the node is shut down. The implementation is heavily inspired by state sync background dumping to S3.
This PR also introduces a new column
DBCol::Misc
. For now it only stores the status of the migration, but it can hold any small pieces of data, similar toDBCol::BlockMisc
.FlatStorageManager
is exposed as part ofRuntimeAdapter
in this PR. This is the first step in cleaningRuntimeAdapter
from all other flat storage related methods, as the manager can be directly used instead.Tested by manually running a node and checking metrics and log messages. After that flat storage was checked with
flat-storage verify
cmd.