From 00c32164199a475bbf96c2cf4f7cf0629c40064f Mon Sep 17 00:00:00 2001 From: Andrei Matei Date: Thu, 26 Mar 2020 18:21:06 -0400 Subject: [PATCH] kvcoord: add a log msg Release note: None Release justification: low risk, just logging --- pkg/kv/kvclient/kvcoord/txn_interceptor_committer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/kv/kvclient/kvcoord/txn_interceptor_committer.go b/pkg/kv/kvclient/kvcoord/txn_interceptor_committer.go index 0c00d7438eef..11f4a0caf982 100644 --- a/pkg/kv/kvclient/kvcoord/txn_interceptor_committer.go +++ b/pkg/kv/kvclient/kvcoord/txn_interceptor_committer.go @@ -208,6 +208,7 @@ func (tc *txnCommitter) SendLocked( // could be a combination of protos from responses, all merged by // DistSender. if pErr := needTxnRetryAfterStaging(br); pErr != nil { + log.VEventf(ctx, 2, "parallel commit failed since some writes were pushed") return nil, pErr }