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
152961: kvserver/rangefeed: deflake TestUnbufferedRegOnCatchUpSwitchOver/disconnect_after_runOutputLoop r=wenyihu6 a=stevendanna
This test was using the capacity of the catchUpBuf to decide how many post-catch-up events need to be delivered. This is a problem because the the output loop might have already finished the catchup scan, flushed its empty catch up buffer, set the buffer to nil (0 cap), and exited before we ever even observe the cap of the catchup buffer.
One note is that this test is a bit odd because depending on the speed of the catchup up scan, the events might come to us via the catchup buffer publish or directly.
Fixes#152960
Release note: None
Co-authored-by: Steven Danna <[email protected]>
0 commit comments