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 961d567 commit 744428f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ func (s *scheduler) findConflicts(task *deliverTxTask) (bool, []int) {
valid := true
for sk, mv := range s.multiVersionStores {
ok, mvConflicts := mv.ValidateTransactionState(task.Index)
task.Ctx.Logger().Info("Validating MVS", "storeKey", sk.Name(), "ok", ok, "conflicts", mvConflicts)
if !ok {
task.Ctx.Logger().Info("Validating MVS", "idx", task.Index, "storeKey", sk.Name(), "conflicts", mvConflicts, "readset", mv.GetReadset(task.Index))
}
for _, c := range mvConflicts {
if _, ok := uniq[c]; !ok {
conflicts = append(conflicts, c)
Expand Down

0 comments on commit 744428f

Please sign in to comment.