8000 added snapshot generation asynchronously flag by jeongkyun-oh · Pull Request #1634 · klaytn/klaytn · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Aug 19, 2024. It is now read-only.

added snapshot generation asynchronously flag #1634

Merged
merged 2 commits into from
Nov 2, 2022

Conversation

jeongkyun-oh
Copy link
Contributor
@jeongkyun-oh jeongkyun-oh commented Oct 7, 2022

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.

  • Bugfix
  • New feature or enhancement
  • Others

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.

  • I have read the CONTRIBUTING GUIDELINES doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes ($ make test)
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules

ethan-kr
ethan-kr previously approved these changes Oct 27, 2022
@jeongkyun-oh jeongkyun-oh force-pushed the 221007-snapshot-flags branch 2 times, most recently from e0d8236 to 4f6e148 Compare October 28, 2022 01:39
kjhman21
kjhman21 previously approved these changes Oct 31, 2022
Copy link
@kjhman21 kjhman21 left a 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!

@kjhman21
Copy link

@jeongkyun-oh Uhoh, you need to resolve the conflict.

@jeongkyun-oh
Copy link
Contributor Author

@kjhman21 I have rebased. PTAL.

Copy link
@kjhman21 kjhman21 left a 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,
Copy link
Member

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.

Copy link
Contributor Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0