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

Enhance validation of deserialization and reporting of errors #345

Merged
merged 2 commits into from
Feb 12, 2024

Conversation

sebastianburckhardt
Copy link
Member

To help us better diagnose and debug data corruption issues:

  1. when deserializing data from storage, do more validation to better detect and report typical manifestations of data corruption (e.g. enumerations outside of range, streams not containing enough bytes).

  2. if observing errors in deserialization or serialization, terminate the partition with a corresponding error message that is easily visible in the logs.

  3. Skip deserialization when a partition is already terminated (this also provides a quick workaround for Deserializing page content despite errorCode != 0? FASTER#883).

@davidmrdavid davidmrdavid merged commit b2431e6 into dev Feb 12, 2024
2 checks passed
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.

2 participants