diff --git a/txnkv/transaction/prewrite.go b/txnkv/transaction/prewrite.go index 3ff35a10c..3cf5a112e 100644 --- a/txnkv/transaction/prewrite.go +++ b/txnkv/transaction/prewrite.go @@ -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