diff --git a/pkg/kv/kvclient/kvcoord/dist_sender.go b/pkg/kv/kvclient/kvcoord/dist_sender.go index 3a2b23a78fe5..5510eb1491e0 100644 --- a/pkg/kv/kvclient/kvcoord/dist_sender.go +++ b/pkg/kv/kvclient/kvcoord/dist_sender.go @@ -2340,7 +2340,7 @@ func (ds *DistSender) sendToReplicas( // evaluating twice, overwriting another unrelated write that fell // in-between. // - if withCommit && !grpcutil.RequestDidNotStart(err) { + if withCommit { ambiguousError = err } log.VErrEventf(ctx, 2, "RPC error: %s", err)