airbyte icon indicating copy to clipboard operation
airbyte copied to clipboard

Log warnings instead of raising errors in StateDeltaTracker and StateMetricsTracker

Open alovew opened this issue 2 years ago • 0 comments

The StateDeltaTracker is raising StateDeltaTrackerExceptions and the StateMetricsTracker is raising StateMetricsTrackerOomExceptions and StateMetricsTrackerNoStateMatchExceptions. The AirbyteMessageTracker is catching these exceptions and logging a warning, but these exceptions still show up in the logs, which could be confusing to users.

We should remove these exceptions and refactor the code so we can still keep track of the exception events within the AirbyteMessageTracker without actually raising an exception.

alovew avatar Sep 13 '22 23:09 alovew