Skip to content

Commit 241b3cf

Browse files
Copilotbootjp
andcommitted
kv: remove redundant validateConflicts call in handleOnePhaseTxnRequest
Co-authored-by: bootjp <1306365+bootjp@users.noreply.github.com> Agent-Logs-Url: https://github.com/bootjp/elastickv/sessions/4df9d734-df5c-461d-a542-30fa52e1d174
1 parent a312646 commit 241b3cf

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

kv/fsm.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,6 @@ func (f *kvFSM) handleOnePhaseTxnRequest(ctx context.Context, r *pb.Request, com
285285
if err != nil {
286286
return err
287287
}
288-
if err := f.validateConflicts(ctx, uniq, startTS); err != nil {
289-
return errors.WithStack(err)
290-
}
291288

292289
storeMuts, err := f.buildOnePhaseStoreMutations(ctx, uniq)
293290
if err != nil {

0 commit comments

Comments
 (0)