Suboptimal default timeout in FollowerPingRpc causing master quorum breaks
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 219
- PR merge metrics
- No merged PRs in 30d
Description
Hello!
I'm encountering an issue where the default value for [FollowerPingRpcTimeout](https://github.com/ytsaurus/ytsaurus/blob/d05957126d6ef7ba50d2ee8e5a9cdad8592ce3aa/yt/yt/server/lib/election/config.cpp#L13-L14), which is currently set to 1 second, appears to be insufficient. This setting seems problematic because master followers frequently experience delays during the [fork](https://github.com/ytsaurus/ytsaurus/blob/d05957126d6ef7ba50d2ee8e5a9cdad8592ce3aa/yt/yt/server/lib/misc/fork_executor.cpp#L73) call. Such delays lead to the followers freezing for extended periods, resulting in `Error pinging follower`. This error, in turn, disrupts the master quorum. Moreover, it might worth to change other `election manager` defaults as well?
Contributor guide
Assessment
This issue has not been assessed yet.