Skip to content

Commit

Permalink
Add TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Urmi Mustafi committed Oct 10, 2023
1 parent 4c4c2a1 commit af663be
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ public LeaseAttemptStatus tryAcquireLease(DagActionStore.DagAction flowAction, l
return new NoLongerLeasingStatus();
}
if (eventTimeMillis > dbEventTimestamp.getTime()) {
// TODO: emit metric here to capture this unexpected behavior
log.warn("tryAcquireLease for [{}, is: {}, eventTimestamp: {}] - dbEventTimeMillis: {} - Severe constraint "
+ "violation encountered: a reminder event newer than db event was found when db laundering should "
+ "ensure monotonically increasing laundered event times.", flowAction,
Expand Down

0 comments on commit af663be

Please sign in to comment.