You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disambiguate an unexpected EOF in the record envelope (eg, missing chunks) from
an unexpected EOF within the body of the record. An unexpected EOF of the
envelope may occur if the process crashes while appending a version edit to the
manifest file. An unexpected EOF within the record indicates corruption.
Previously, some version edit code paths re-mapped an unexpected EOF while
parsing the record envelope into a corruption error. In this case, recovery
failed improperly when it should've ignored the incomplete version edit.
In the other direction, some code paths would return io.ErrUnexpectedEOF while
decoding the version edit structure within a valid envelope record. In this
case, the caller interpreted the ErrUnexpectedEOF as a sudden end to the record
envelope, and recovery succeeded improperly when it should've aborted with a
corruption error.
0 commit comments