Skip to content

Commit

Permalink
This is an automated cherry-pick of pingcap#10897
Browse files Browse the repository at this point in the history
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
  • Loading branch information
CharlesCheung96 authored and ti-chi-bot committed Apr 26, 2024
1 parent 986ebf7 commit 92498aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/causality/conflict_detector.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,13 @@ func NewConflictDetector[Worker worker[Txn], Txn txnEvent](
workers: workers,
slots: internal.NewSlots[*internal.Node](numSlots),
numSlots: numSlots,
<<<<<<< HEAD
notifiedNodes: chann.NewDrainableChann[func()](),
garbageNodes: chann.NewDrainableChann[txnFinishedEvent](),
=======
notifiedNodes: chann.NewAutoDrainChann[func()](),
garbageNodes: chann.NewAutoDrainChann[txnFinishedEvent](),
>>>>>>> e47549bd72 (sink(ticdc): Revert changes related to the conflict detector (#10897))
closeCh: make(chan struct{}),
}

Expand Down

0 comments on commit 92498aa

Please sign in to comment.