Skip to content

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

Open
zhangchiqing wants to merge 5 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 5 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: bec45217-b178-465c-b856-452184726618

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-checkpoint-verify-hash branch from 2e0691e to 5b65af3 Compare July 2, 2026 19:13
@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-checkpoint-verify-hash branch from 5b65af3 to 66ed053 Compare July 13, 2026 17:27
@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-checkpoint-verify-hash branch from 66ed053 to ce67ef0 Compare July 14, 2026 20:01
@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-checkpoint-verify-hash branch from ce67ef0 to f4625b1 Compare July 31, 2026 04:36
@zhangchiqing
zhangchiqing force-pushed the leo/payloadless-util-create-v6-checkpoint-from-v7 branch from 2998458 to 58dc7cd Compare July 31, 2026 04:38
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.

1 participant