Skip to content

Fix: attrd: check election status upon loss of a voter to prevent unexpected pending#2548

Merged
kgaillot merged 1 commit intoClusterLabs:masterfrom
gao-yan:attrd-election-check-voter-lost
Oct 28, 2021
Merged

Fix: attrd: check election status upon loss of a voter to prevent unexpected pending#2548
kgaillot merged 1 commit intoClusterLabs:masterfrom
gao-yan:attrd-election-check-voter-lost

Conversation

@gao-yan
Copy link
Copy Markdown
Member

@gao-yan gao-yan commented Oct 28, 2021

When a peer is lost, if an election of attrd writer is in progress, we
need to call election_check(), in case this lost peer is the only one
that hasn't voted, otherwise the election would be pending until it's
timed out.

…xpected pending

When a peer is lost, if an election of attrd writer is in progress, we
need to call election_check(), in case this lost peer is the only one
that hasn't voted, otherwise the election would be pending until it's
timed out.
@kgaillot
Copy link
Copy Markdown

Awesome, thanks!

@kgaillot kgaillot merged commit 70f82d2 into ClusterLabs:master Oct 28, 2021
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.

2 participants