ytsaurus / ytsaurus/ytsaurus

Suboptimal default timeout in FollowerPingRpc causing master quorum breaks

Open
#575 1 comment 0 reactions 0 assignees View on GitHub
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

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.