yugabyte/yugabyte-db

[DocDB] Fix regressed LoadBalancerPlacementPolicyTest.UnderreplicatedAdd test

クローズ

#31,620 opened on 2026/05/13

 (0 件のコメント) (0 件のリアクション) (1 人の担当者)C (1,003 件のフォーク)batch import
2025.1 Backport Required2025.2 Backport Requiredarea/docdbgood first issuekind/bugkind/failing-testpriority/mediumstatus/awaiting-triage

Repository metrics

Stars
 (8,229 個のスター)
PR merge metrics
 (平均マージ 17d 21h) (30d で 92 merged PRs)

説明

Jira Link: DB-21388

Description

Commit https://github.com/yugabyte/yugabyte-db/commit/16d34ab1f19f453487d6b58903cca47a26882b42#diff-89ea3cb136f09e681792b16e724bfdf16eeecd96126782da8d84bc0aebf0f4d9 increased follower_unavailable_considered_failed_sec from 3 -> 6 in some tests. this introduces flakiness in tests like LoadBalancerPlacementPolicyTest.UnderreplicatedAdd because the tests expect the raft quorum related activity to be done within some timeout, and the prior flag affects removal of peers.

Re-work the timing in the tests, or better, replace them with log waiters instead.

Issue Type

kind/bug

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.

コントリビューターガイド