Skip to content

Need support for validating records #3313

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

Closed
ohadzeliger opened this issue Apr 17, 2025 · 0 comments · Fixed by #3314
Closed

Need support for validating records #3313

ohadzeliger opened this issue Apr 17, 2025 · 0 comments · Fixed by #3314

Comments

@ohadzeliger
Copy link
Contributor

In cases where records have been corrupted, we would need a facility to validate and (optionally) repair them.
One such corruption (relevant for this issue) is the case of missing Kvs in the database.

ScottDugas pushed a commit that referenced this issue May 2, 2025
This PR adds two new facilities in support of record validation:
- Scan record keys in a store
- Validate record (no repair yet)

Record validation is meant to detect cases of missing KVs in the
database and (optionally) repair them.
The combination of the two facilities mentioned above would allow for
the scanning of a store that may have suffered data missing and repair
records such that the store is in consistent state.
Constraints of the solution:
- Missing KV only (no mis-ordered splits or corrupt keys)
- Format versions of 3 and higher (no upgrades of data from one format
to another tested)
- With and without split long record option
- With and without inline versions

Resolves #3313
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 a pull request may close this issue.

1 participant