-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: Snapshotter
triggers segment snapshots
#5287
Conversation
Snapshotter
triggers segment snapshots
Co-authored-by: Alexey Shekhirin <[email protected]>
Co-authored-by: Alexey Shekhirin <[email protected]>
Co-authored-by: Alexey Shekhirin <[email protected]>
Co-authored-by: Alexey Shekhirin <[email protected]>
Co-authored-by: Alexey Shekhirin <[email protected]>
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.
lgtm, pending @shekhirin
&self, | ||
block_range: Option<RangeInclusive<BlockNumber>>, | ||
) -> RethResult<()> { | ||
if let Some(block_range) = block_range { |
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.
can use let Some else return here
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.
changes in isolation lgtm. still familiarizing with the rest of snapshot code
Co-authored-by: Matthias Seitz <[email protected]>
PR into #5283
Snapshotter
] logic:run_segment
datadir/snapshots/temp
, and moved todatadir/snapshots
once finished. This is to handle abrupt terminations of the node. This temp directory is cleaned up whenever the node is started.