You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test was checking on replication by asserting that the number of ranges
times the replication factor is equal to the number of replicas.
Replicas can persist after no longer being part of a range (waiting for
replicaGC), which is why this test was flaky.
I first tried to fix it by lowering the replicaGC queue's interval at
which it checks ranges (defaults to 12h), but looking more closely at
what the test was doing, I decided to change that instead by no longer
caring about what replicas each store reports. What matters is what
the meta ranges report, and now the test checks replication similar
to how many other tests do, by querying ranges_no_leases.
Fixes#146435.
Fixes#147763.
Fixes#156447.
Epic: none
0 commit comments