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
148444: roachtest: global monitor expects specific process deaths r=herkolategan,srosenberg a=DarrylWong
This change refactors the global test monitor to expect specific process deaths rather than a number of any process deaths. This change is to support the failure injection framework (#138958) as well as failure injection in mixed version (#148084). In the future, we will want to be able to tell the state of the cluster/nodes from the monitor.
This change also refactors the mixed version tests to use the global monitor, as well as deprecates the old cluster monitor. See individual commits for details.
Informs: #118214
Release note: none
148697: allocator: hoist some calls to Locality r=wenyihu6 a=stevendanna
store.Locality() allocates. Previously we were calling this inside an double-nested loop in diversityRebalanceScore which itself is called in a loop.
This is probably just a drop in the bucket given how much is going on in the callers of this function, but perhaps it helps a bit:
BenchmarkRebalanceToDiversityScore 427075 2734 ns/op 1920 B/op 12 allocs/op
BenchmarkRebalanceToDiversityScore 904476 1443 ns/op 160 B/op 1 allocs/op
Informs #147800
Release note: None
148764: workload/schemachanger: fix invalid function syntax errors r=fqazi a=fqazi
Previously, the random schema changer workload used $$ as a delimiter for function definitions. Unfortunately, randomly generated strings used by functions could easily contain $$ causing the definition to terminator to show up. To address this patch modifies the delimiter to be `$FUNC_BODY$`.
Fixes: #148555
Release note: None
Co-authored-by: DarrylWong <[email protected]>
Co-authored-by: Steven Danna <[email protected]>
Co-authored-by: Faizan Qazi <[email protected]>
0 commit comments