Skip to content

Commit

Permalink
merge master&fix conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: AndreMouche <[email protected]>
  • Loading branch information
AndreMouche committed Jan 3, 2025
1 parent 846f2d7 commit bc5287d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion txnkv/transaction/prewrite.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,11 +232,11 @@ func (action actionPrewrite) handleSingleBatch(
}

handler := action.newSingleBatchPrewriteReqHandler(c, batch, bo)
defer handler.drop(err)

for {
retryable, err := handler.sendReqAndCheck()
if !retryable {
handler.drop(err)
return err
}
}
Expand Down

0 comments on commit bc5287d

Please sign in to comment.