yugabyte/yugabyte-db

[DocDB] Fix regressed LoadBalancerPlacementPolicyTest.UnderreplicatedAdd test

Chiusa

#31.620 aperta il 13 mag 2026

 (0 commenti) (0 reazioni) (1 assegnatario)C (1003 fork)batch import
2025.1 Backport Required2025.2 Backport Requiredarea/docdbgood first issuekind/bugkind/failing-testpriority/mediumstatus/awaiting-triage

Metriche repository

Star
 (8229 stelle)
Metriche merge PR
 (Merge medio 17g 21h) (92 PR mergiate in 30 g)

Descrizione

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.

Guida contributor