Skip to content

SHiP: Verify last log index entry matches last log entry #1680

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

Merged
merged 2 commits into from
Jul 9, 2025

Conversation

heifner
Copy link
Member

@heifner heifner commented Jul 3, 2025

Add additional sanity check at startup of last entry's position in log file matches last entry in index file.

Resolves #990

@heifner heifner added the OCI Work exclusive to OCI team label Jul 3, 2025
@spoonincode
Copy link
Member

seems okay, should be possible to add a test fairly easily though?

@heifner heifner merged commit d53bce5 into main Jul 9, 2025
70 of 71 checks passed
@heifner heifner deleted the GH-990-ship-index-check branch July 9, 2025 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SHiP: should check last entry's position in log file matches last entry in index file
3 participants