Skip to content

Commit

Permalink
change severity of state delta tracker exception and clarify messaging (
Browse files Browse the repository at this point in the history
  • Loading branch information
pmossman authored Jan 20, 2022
1 parent 4c83ac1 commit 111131a
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ private void handleSourceEmittedState(final AirbyteStateMessage stateMessage) {
stateDeltaTracker.addState(stateHash, streamToRunningCount);
}
} catch (final StateDeltaTrackerException e) {
log.error(e.getMessage(), e);
log.warn("The message tracker encountered an issue that prevents committed record counts from being reliably computed.");
log.warn("This only impacts metadata and does not indicate a problem with actual sync data.");
log.warn(e.getMessage(), e);
unreliableCommittedCounts = true;
}
streamToRunningCount.clear();
Expand All @@ -134,7 +136,9 @@ private void handleDestinationEmittedState(final AirbyteStateMessage stateMessag
stateDeltaTracker.commitStateHash(getStateHashCode(stateMessage));
}
} catch (final StateDeltaTrackerException e) {
log.error(e.getMessage(), e);
log.warn("The message tracker encountered an issue that prevents committed record counts from being reliably computed.");
log.warn("This only impacts metadata and does not indicate a problem with actual sync data.");
log.warn(e.getMessage(), e);
unreliableCommittedCounts = true;
}
}
Expand Down

0 comments on commit 111131a

Please sign in to comment.