Skip to content

SNAP and CHECKPOINT sync modes - now production ready#6405

Merged
macfarla merged 15 commits intobesu-eth:mainfrom
macfarla:snap-no-x
Feb 2, 2024
Merged

SNAP and CHECKPOINT sync modes - now production ready#6405
macfarla merged 15 commits intobesu-eth:mainfrom
macfarla:snap-no-x

Conversation

@macfarla
Copy link
Copy Markdown
Contributor

@macfarla macfarla commented Jan 15, 2024

  • prefer SNAP and CHECKPOINT
  • still support X_SNAP and X_CHECKPOINT - mark for deprecation in 24.4.0
  • all help and log messages now use SNAP and CHECKPOINT

refs #6311

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
@github-actions
Copy link
Copy Markdown

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.
  • I thought about the changelog and included a changelog update if required.
  • If my PR includes database changes (e.g. KeyValueSegmentIdentifier) I have thought about compatibility and performed forwards and backwards compatibility tests

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
@macfarla macfarla marked this pull request as draft January 17, 2024 02:06
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
@macfarla macfarla changed the title remove X flag from SNAP sync mode SNAP and CHECKPOINT sync modes - now production ready Jan 17, 2024
assertThat(commandErrorOutput.toString(UTF_8))
.contains(
"Invalid value for option '--sync-mode': expected one of [FULL, FAST, X_SNAP, X_CHECKPOINT] (case-insensitive) but was 'bogus'");
"Invalid value for option '--sync-mode': expected one of [FULL, FAST, SNAP, CHECKPOINT, X_SNAP, X_CHECKPOINT] (case-insensitive) but was 'bogus'");
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't love this but it was not easy to remove so I figure we can live with it until 24.4.0

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
@macfarla macfarla marked this pull request as ready for review January 19, 2024 03:46
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
@macfarla
Copy link
Copy Markdown
Contributor Author

confirmed these flags are working by starting SNAP, CHECKPOINT, X_SNAP, X_CHECKPOINT syncs - the new flags are the equivalent of the old ones and work the same

Copy link
Copy Markdown
Contributor

@gfukushima gfukushima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@macfarla macfarla enabled auto-merge (squash) February 2, 2024 07:47
@macfarla macfarla merged commit dbea838 into besu-eth:main Feb 2, 2024
@macfarla macfarla added the doc-change-required Indicates an issue or PR that requires doc to be updated label Feb 18, 2024
@alexandratran alexandratran removed the doc-change-required Indicates an issue or PR that requires doc to be updated label Feb 27, 2024
@macfarla macfarla deleted the snap-no-x branch July 16, 2024 05:55
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