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

chore: Require replaying back if there is a gap in checkpoints #92

Merged
merged 6 commits into from
Jul 18, 2024

Conversation

gshep
Copy link
Member

@gshep gshep commented Jul 18, 2024

Introduce the constant with an allowed gap size in checkpoints. If between the next sync update and the stored last checkpoint is a bigger gap then the update will be rejected with an appropriate error.

@gear-tech/dev

@gshep gshep requested a review from mertwole July 18, 2024 06:17
@gshep gshep self-assigned this Jul 18, 2024
@gshep gshep merged commit 06a794e into main Jul 18, 2024
2 checks passed
@gshep gshep deleted the gshep/require-replaying-back branch July 18, 2024 10:02
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.

2 participants