From faa45e903463bb9057852440c40d678977606720 Mon Sep 17 00:00:00 2001 From: Uday Patil Date: Thu, 16 Nov 2023 14:04:28 -0500 Subject: [PATCH] add log --- tasks/scheduler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/scheduler.go b/tasks/scheduler.go index ad2b57c62..adb6b336a 100644 --- a/tasks/scheduler.go +++ b/tasks/scheduler.go @@ -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