Skip to content

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

Merged
sgotti merged 1 commit into
sorintlab:masterfrom
sgotti:keeper_report_error_when_local_dbuid_is_not_correct
Jun 15, 2018
Merged

keeper: report error when local dbuid is not correct#510
sgotti merged 1 commit into
sorintlab:masterfrom
sgotti:keeper_report_error_when_local_dbuid_is_not_correct

Conversation

@sgotti

@sgotti sgotti commented Jun 13, 2018

Copy link
Copy Markdown
Member

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.

1 participant