Skip to content

[Storehouse] 014 - Payloadless util create v6 checkpoint from v7 - #8595

Open
zhangchiqing wants to merge 6 commits into
leo/payloadless-util-checkpoint-verify-hashfrom
leo/payloadless-util-create-v6-checkpoint-from-v7
Open

[Storehouse] 014 - Payloadless util create v6 checkpoint from v7#8595
zhangchiqing wants to merge 6 commits into
leo/payloadless-util-checkpoint-verify-hashfrom
leo/payloadless-util-create-v6-checkpoint-from-v7

Conversation

@zhangchiqing

@zhangchiqing zhangchiqing commented Jul 2, 2026

Copy link
Copy Markdown
Member

To be able to support mode switch especially switching from payloadless mode back to full node, we need to create a v6 checkpoint from a v7 checkpoint, so that we can simply converting the latest v7 checkpoint produced by a EN running in payloadless mode, and then restart in full node mode with the converted v6 checkpoint file. Since the wal file format didn't change, they can be reused by the full node to resume the execution.

This PR adds a util to create a v6 checkpoint from a v7 (payloadless) checkpoints and wal (write ahead logs) files.

@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: a32ef9c6-5920-46da-b20b-e86dc88874cb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch leo/payloadless-util-create-v6-checkpoint-from-v7

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@zhangchiqing
zhangchiqing force-pushed the leo/payloadless-util-create-v6-checkpoint-from-v7 branch from 9056749 to 415f130 Compare July 2, 2026 19:13
@zhangchiqing
zhangchiqing marked this pull request as ready for review July 2, 2026 19:16
@zhangchiqing
zhangchiqing requested a review from a team as a code owner July 2, 2026 19:16
@zhangchiqing
zhangchiqing force-pushed the leo/payloadless-util-create-v6-checkpoint-from-v7 branch from 415f130 to 8a646c8 Compare July 13, 2026 17:27
@zhangchiqing
zhangchiqing force-pushed the leo/payloadless-util-create-v6-checkpoint-from-v7 branch from 8a646c8 to 2998458 Compare July 14, 2026 20:02
@zhangchiqing
zhangchiqing force-pushed the leo/payloadless-util-create-v6-checkpoint-from-v7 branch from 2998458 to 58dc7cd Compare July 31, 2026 04:38
@zhangchiqing
zhangchiqing force-pushed the leo/payloadless-util-create-v6-checkpoint-from-v7 branch 2 times, most recently from 8b95f4c to a6f81d0 Compare August 20, 2026 00:38
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@codecov-commenter

codecov-commenter commented Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 55.80110% with 240 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...edger/complete/wal/checkpoint_v6_convert_stream.go 53.01% 108 Missing and 87 partials ⚠️
ledger/complete/wal/checkpoint_v6_convert.go 64.84% 23 Missing and 22 partials ⚠️

📢 Thoughts on this report? Let us know!

@zhangchiqing
zhangchiqing force-pushed the leo/payloadless-util-create-v6-checkpoint-from-v7 branch from 7037146 to b9e1d99 Compare August 24, 2026 14:01
@zhangchiqing
zhangchiqing force-pushed the leo/payloadless-util-create-v6-checkpoint-from-v7 branch from b9e1d99 to 5f173b2 Compare August 25, 2026 02:47
@blacksmith-sh

This comment has been minimized.

@zhangchiqing
zhangchiqing force-pushed the leo/payloadless-util-create-v6-checkpoint-from-v7 branch from 5f173b2 to aee41a8 Compare August 25, 2026 23:00
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