Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
udpatil committed Nov 16, 2023
1 parent 8b5cac1 commit faa45e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ func (s *scheduler) shouldRerun(task *deliverTxTask) bool {
// validated tasks can become unvalidated if an earlier re-run task now conflicts
case statusExecuted, statusValidated:
if valid, conflicts := s.findConflicts(task); !valid {
task.Ctx.Logger().Info("Task invalid", "index", task.Index, "incarnation", task.Incarnation, "conflicts", conflicts)
s.invalidateTask(task)

// if the conflicts are now validated, then rerun this task
Expand Down

0 comments on commit faa45e9

Please sign in to comment.