apple / apple/foundationdb

Leader Election in some rare cases take longer to complete

Open
#3,378 2 comments 0 reactions 1 assignee Claimed by @bnamasivayam View on GitHub
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

There was an issue in production where it took 6 seconds for the leader election process to elect a proper leader. The crux of the issue is co-ordinators could elect a leader that had already exited and hence need to wait for the next interval to elect a new one. A plausible set of events that could have lead to the behavior is

Let's say id1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.