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
144161: changefeedccl: deflake TestChangefeedContinuousTelemetryOnTermination r=andyyang890 a=KeithCh
There was an attempt to deflake this test in #135961
but we were still seeing this occasionally.
This change expands on that attempt.
The main cause is from a transient KV server error
that occurs when we cancel a changefeed. The
error causes a new changefeed aggregator to
be started, which in turn creates a new
telemetryMetricsRecorder instance. Since the
lastEmitTime field in telemetryMetricsRecorder is
initialized to 0, it emits a
changefeed_emitted_bytes event at the very next
maybeFlushLogs() call. A counter is added to
detect when this transient error occurs, and
prevents the second logger from emitting any
logs.
Resolves#143700
Release note: None
Co-authored-by: Keith Chow <[email protected]>
0 commit comments