Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Extent fails to open after unclean shutdown #884
A bug in the storage engine's recovery logic can cause a start-up failure after an unclean shutdown, in some (rare) circumstances.
The error message is:
This is because the storage engine fails to recognize a write as incomplete if metadata is truncated at a specific point in the frame (an eight-byte window). The fix requires an additional length check before proceeding to copy from the read buffer.
The bug should not cause data corruption/loss, but manual recovery will be needed if this appears again before the fix is in the wild.