Skip to content

Commit

Permalink
Problem: no need DecreaseExecutionIdx to redo after using lock (#14)
Browse files Browse the repository at this point in the history
* Problem: resume_dependencies is no aligned

* no need DecreaseExecutionIdx to redo after using lock

* cleanup
  • Loading branch information
mmsqe authored Sep 13, 2024
1 parent 1cd8997 commit 91b2d04
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ func (s *Scheduler) Done() bool {
return s.done_marker.Load()
}

func (s *Scheduler) DecreaseExecutionIdx(target TxnIndex) {
StoreMin(&s.execution_idx, uint64(target))
s.decrease_cnt.Add(1)
}

func (s *Scheduler) DecreaseValidationIdx(target TxnIndex) {
StoreMin(&s.validation_idx, uint64(target))
s.decrease_cnt.Add(1)
Expand Down

0 comments on commit 91b2d04

Please sign in to comment.