-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
read tombstones: EOF after upgrade to 0.14.0~n201605160800 #6641
Comments
@daviesalex Can you see if the corresponding tombstone files are If they are 0 size, you can remove them to allow the DB to start up. There was a bug that allowed 0 length files to be written incorrectly. These should get ignored, but might not be currently. |
@jwilder they are (without the .tsm). mtime is months ago though, and the data was accessible pre-restart (and will have been restated, and upgraded, multiple times since March). From what I can see from a quick grafana check, 100% of data more than about 20 hours old is now not accessible.
|
You can remove any |
Thanks - giving that a go. FWIW, they are all zero sized:
|
Right, that gets rid of the errors. Sadly now we panic immediately on startup (before any query executes):
New issue? Any suggestions? |
That is a new issue: Looks similar to #6595 (comment) Are there any log statements about full compactions further up? |
Moving discussion to #6595... thanks for your help! I'm not sure if the original issue (these 0 byte files getting in the way) is an issue that requires a better resolution, i'll leave it open for now. At the very least others getting it will find it and know its safe to just delete them... |
The 0 length tombstones should be ignored and not prevent the DB from starting. We'll keep this open until that is fixed. |
Thanks. Just to be clear, in this case, they did not prevent the DB starting - I (incorrectly) linked them to the fact that most of our data was missing once it started but that appears to be a separate problem. What is odd is that the DB started with them (with the last 24 hours data), but without them panics immediately. I have no idea why that is. A start on the latest stable is taking quite a bit longer, which makes me think it might end up with more data (or its just less efficient at not starting with our data!!). I'll report back shortly. |
Due to an bug in TSM tombstone files, it was possible to create empty tombstone files. At startup, the TSM file would error out and not load the TSM file. Instead, treat it as an empty v1 file so the TSM file can load correctly. Fixes #6641
We jsut upgraded from 0.12.1-1 to the latest nightly (0.14.0~n201605160800)
On restart, the performance was great, but it seems that only data in the last ~20 hours is acceissible. The other data is still on disk.
There are a bunch of startup errors:
These files seem legit, have the correct permissions, and have a mtime from months ago:
Suggestions?
The text was updated successfully, but these errors were encountered: