Skip to content

Commit

Permalink
refactor handleSingleBatch
Browse files Browse the repository at this point in the history
Signed-off-by: AndreMouche <[email protected]>
  • Loading branch information
AndreMouche committed Dec 18, 2024
1 parent 0df9619 commit 0e1fc5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions txnkv/transaction/prewrite.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ func (c *twoPhaseCommitter) prewriteMutations(bo *retry.Backoffer, mutations Com
return c.doActionOnMutations(bo, actionPrewrite{isInternal: c.txn.isInternal()}, mutations)
}

// prewrite1BatchReqHandler is used to handle 1 singleBatch prewrite request.
type prewrite1BatchReqHandler struct {
committer *twoPhaseCommitter
action *actionPrewrite
Expand Down

0 comments on commit 0e1fc5d

Please sign in to comment.