Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
132129: roachtest: add slow disk perturbation test r=kvoli a=andrewbaptist This change adds a new set of perturbation tests perturbation/*/slowDisk which tests slow disks. We have see support cases where slow disks can cause cluster level availability outages. Epic: none Release note: None 132254: rac2: small allocation optimizations in rangeController r=kvoli a=sumeerbhola - Scratch for []entryFCState for the new entries being appended. - Scratch for []tokenWaitingHandleInfo in WaitForEval. - Accumulate the (send or eval) tokens to deduct and then make one call to the shared tokenCounter. This avoids repeated calls to PhysicalTime() and repeated acquisitons of a possibly contended mutex. Informs #128033 Epic: CRDB-37515 Release note: None 132313: raft,kvserver: add RawNode.WithBasicProgress and BasicProgress struct r=pav-kv,kvoli a=sumeerbhola This is a micro-optimization, plus avoids exposing Raft details that the three callers are not interested in. BasicProgress only contains {State, Match, Next} and there is no sorting of peer ids before the visitor is called. This method consumes 0.6% in kv0 running with RACv2, of which more than half is calls from RACv2 code. Informs #128033 Epic: CRDB-37515 Release note: None 132315: raft: don't panic in Inflights.Add r=kvoli a=pav-kv In lazy replication mode, the inflights struct should not enforce the in-flight limit. Instead, this policy is implemented at the higher level (RACv2). The tracker nevertheless correctly tracks all the in-flight state, so that it can correctly switch in/out of the lazy replication. Part of #128779 Co-authored-by: Andrew Baptist <[email protected]> Co-authored-by: sumeerbhola <[email protected]> Co-authored-by: Pavel Kalinnikov <[email protected]>
- Loading branch information