yugabyte/yugabyte-db

[DocDB] Fix regressed LoadBalancerPlacementPolicyTest.UnderreplicatedAdd test

已關閉

#31,620 建立於 2026年5月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

倉庫指標

星標
 (8,229 顆星)
PR 合併指標
 (平均合併 17天 21小時) (30 天內合併 92 個 PR)

描述

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.

貢獻者指南