Skip to content

Pause saneitizer without changing graph shape

Ebernhardson requested to merge work/ebernhardson/pause-saneitizer into main

Changes to the graph shape, like adding or removing the sanity source, can be error prone to deploy. Additionally because we add or remove the source there is no way to pause. Disabling the saneitizer drops all the state that remembers where we are in the loops.

Instead always wire the SanitySource into the application, but configure it so that when paused the SaneitizeLoop implementation is replaced with a no-op loop. This leaves all of the flink machinery in place, but no events will ever be produced and no state changes will ever be applied. It will all be ready to be re-enabled in the future.

Bug: T358599

Merge request reports