Bug #70587
closedmon: MON stopped pinging during startup or restart because quorum_mon_feature is null
0%
Description
Problem:¶
Monitors stop pinging each other when quorum_mon_feature flag is empty. This happens when the monitor freshly starts up and never formed a quorum before, or when you restart the monitors in the cluster. Basically, Monitor startups.
This problem can easily be reproduced everytime.
Steps to reproduce:
Start 3 MONs with connectivity election strategy
Fail 1 mon.
Restart all the monitors (including the down monitor)
Observe that the connection scores of each monitor will tell you that not all monitors are alive. Which is not true because all 3 Monitors are in quorum.
What happened was during monitor startups,
quorum_mon_feature is empty and although
they all participated in the election,
when they hit the function begin_peer_ping,
some monitors if not all will not send ping
because of the emptry quorum_mon_feature flag.
Therefore, after the election the monitors will
have the wrong connection score. However,
this will get resolved in the next election
because now that quorum_mon_feature is populated
they will start pinging each other again, hence,
correct connectivity score.
Although the next election will resolve the bad scores,
this will impact features like Netsplit detection because
it relies on connectivity scores and the last thing we want to
do is report false positives to the user.
KS Updated by Kamoltat (Junior) Sirivadhna over 1 year ago
- Category set to Monitor
- Assignee set to Kamoltat (Junior) Sirivadhna
KS Updated by Kamoltat (Junior) Sirivadhna over 1 year ago
- Description updated (diff)
LF Updated by Laura Flores over 1 year ago
Seen in bug scrub: monitoring
KS Updated by Kamoltat (Junior) Sirivadhna over 1 year ago
- Pull request ID set to 62416
RZ Updated by Radoslaw Zarzynski over 1 year ago
scrub note: reviewed.
LF Updated by Laura Flores over 1 year ago
- Status changed from New to Fix Under Review
RZ Updated by Radoslaw Zarzynski over 1 year ago
Approved.
RZ Updated by Radoslaw Zarzynski over 1 year ago
scrub note: awaits QA.
LF Updated by Laura Flores over 1 year ago
PR was taken into testing.
KS Updated by Kamoltat (Junior) Sirivadhna over 1 year ago
- Status changed from Fix Under Review to Pending Backport
- Backport set to squid, reef
UB Updated by Upkeep Bot over 1 year ago
- Copied to Backport #71028: squid: mon: MON stopped pinging during startup or restart because quorum_mon_feature is null added
UB Updated by Upkeep Bot over 1 year ago
- Copied to Backport #71029: reef: mon: MON stopped pinging during startup or restart because quorum_mon_feature is null added
UB Updated by Upkeep Bot over 1 year ago
- Tags (freeform) set to backport_processed
UB Updated by Upkeep Bot over 1 year ago
- Merge Commit set to 7c994bfa05f329be88c6648141b9bfde83e81d64
- Fixed In set to v20.0.0-1614-g7c994bfa05f
- Upkeep Timestamp set to 2025-07-08T18:06:51+00:00
UB Updated by Upkeep Bot over 1 year ago
- Fixed In changed from v20.0.0-1614-g7c994bfa05f to v20.0.0-1614-g7c994bfa05f3
- Upkeep Timestamp changed from 2025-07-08T18:06:51+00:00 to 2025-07-14T15:21:18+00:00
UB Updated by Upkeep Bot over 1 year ago
- Fixed In changed from v20.0.0-1614-g7c994bfa05f3 to v20.0.0-1614-g7c994bfa05
- Upkeep Timestamp changed from 2025-07-14T15:21:18+00:00 to 2025-07-14T20:45:51+00:00
UB Updated by Upkeep Bot about 1 year ago
- Released In set to v20.2.0~529
- Upkeep Timestamp changed from 2025-07-14T20:45:51+00:00 to 2025-11-01T01:00:05+00:00
UB Updated by Upkeep Bot 9 months ago
- Status changed from Pending Backport to Resolved
- Upkeep Timestamp changed from 2025-11-01T01:00:05+00:00 to 2026-03-06T01:47:16+00:00
UB Updated by Upkeep Bot 3 months ago
- Tags (freeform) deleted (
backport_processed) - Upkeep Timestamp changed from 2026-03-06T01:47:16+00:00 to 2026-08-28T01:41:10+00:00