-
Notifications
You must be signed in to change notification settings - Fork 182
added snapshot generation asynchronously flag #1634
Conversation
e0d8236
to
4f6e148
Compare
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. Thanks for the change!
@jeongkyun-oh Uhoh, you need to resolve the conflict. |
4f6e148
to
09989ed
Compare
@kjhman21 I have rebased. PTAL. |
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 Thanks!
@@ -312,6 +312,7 @@ var FlagGroups = []FlagGroup{ | |||
KESNodeTypeServiceFlag, | |||
SnapshotFlag, | |||
SnapshotCacheSizeFlag, | |||
SnapshotAsyncGen, |
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.
I think it can be moved to Database
category.
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.
Maybe all snapshot flags can be moved. I will make another PR for this.
Proposed changes
When
--snapshot
flag is set, the snapshot layer is generated after stopping block processing. This PR added a snapshot generation flag in order to generate snapshot data in a background while block processing normally.Types of changes
Please put an x in the boxes related to your change.
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.
$ make test
)