-
Notifications
You must be signed in to change notification settings - Fork 182
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
CURRENT file pointing to missing MANIFEST file. [JIRA: RIAK-1789] #153
Comments
It is possible that we are seeing the problem described in the All filesystems are not created equal paper. Basically, doing a sync on data files and atomic renames is not enough to ensure consistency of the set of files in the directory. The directory entry itself may need a sync in Linux systems to ensure that the file operations are executed in the expected order and the new file mods survive a crash. |
@angrycub ... define "restart of a node" ... riak restart, linux restart, machine died and was restarted, etc. |
From the ticket narrative:
So I'm going to say, killed after being in an "indeterminate" state and then Riak was restarted. No indication that the physical nodes were rebooted; however, I can contact the user in question for more details if you'd like. |
let me ponder this ... however, a vnode repair would fix. You already do that? |
That was how we addressed that particular ticket. Dumb shell script to look where the filename in the CURRENT file did not exist in that partitions folder and echo out the partition IDs. Ran eleveldb:repair on all of them and all was well. |
Re: Zendesk Ticket #10730
After a restart of a node, the riak vnodes wouldn't start because the CURRENT file was pointing to an non-existent version of the MANIFEST. How did these get out of sync?
The text was updated successfully, but these errors were encountered: