Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: no resequence if l1 sync enabled #1578

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

V-Staykov
Copy link
Collaborator

No description provided.

@V-Staykov V-Staykov linked an issue Dec 18, 2024 that may be closed by this pull request
@cla-bot cla-bot bot added the cla-signed label Dec 18, 2024
@V-Staykov V-Staykov merged commit 991fecf into zkevm Dec 18, 2024
14 checks passed
@V-Staykov V-Staykov deleted the 1574-unable-to-recover-from-l1-after-unwinding branch December 18, 2024 15:16
Comment on lines +50 to +52
if err = cfg.dataStreamServer.UnwindToBatchStart(lastBatch + 1); err != nil {
return err
}
Copy link

Choose a reason for hiding this comment

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

Is this going to work in resequence mode? We retrieve the data to be resequenced from ds. If ds is unwound, we won't have anything to resequence.

Copy link
Collaborator

Choose a reason for hiding this comment

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

We should flag activate the ability to resequence from the ds? This behaviour is needed when l1 recovering - are both scenarios valid simultaneously?

Copy link

@cffls cffls Dec 21, 2024

Choose a reason for hiding this comment

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

Yes, we should read data from ds when resequencing, but only one mode (from resequence, l1recover, limbo, sequence) can be activated at one time.
Looks like resequencing is broken in the latest CI and also in this PR, but somehow the CI job didn't expose the error.

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

Successfully merging this pull request may close these issues.

Unable to recover from L1 after unwinding
3 participants