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

keeper: report error when local dbuid is not correct #510

Conversation

sgotti
Copy link
Member

@sgotti sgotti commented Jun 13, 2018

if the local dbuid is different than the clusterdata required one but initmode
is none something bad happened to the local keeper data. This should happen only
when the local dbstate file disappeared (ephemeral data dir, manual remove). In
such case don't just update it with the clusterdata one and continue but report an
error and stop.

@sgotti sgotti force-pushed the keeper_report_error_when_local_dbuid_is_not_correct branch from 107e1bb to 9b40264 Compare June 14, 2018 14:39
if the local dbuid is different than the clusterdata required one but initmode
is none something bad happened to the local keeper data. This should happen only
when the local dbstate file disappeared (ephemeral data dir, manual remove). In
such case don't just update it with the clusterdata one and continue but report an
error and stop.
@sgotti sgotti force-pushed the keeper_report_error_when_local_dbuid_is_not_correct branch from 9b40264 to 2c818a0 Compare June 15, 2018 07:48
@sgotti sgotti merged commit 2c818a0 into sorintlab:master Jun 15, 2018
sgotti added a commit that referenced this pull request Jun 15, 2018
…uid_is_not_correct

keeper: report error when local dbuid is not correct
@sgotti sgotti added this to the v0.12.0 milestone Jul 3, 2018
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.

None yet

1 participant