@@ -406,7 +406,7 @@ func (txn *Txn) TestingSetPriority(priority enginepb.TxnPriority) {
406406 // non-randomized, priority for the transaction.
407407 txn .mu .userPriority = roachpb .UserPriority (- priority )
408408 if err := txn .mu .sender .SetUserPriority (txn .mu .userPriority ); err != nil {
409- log .Dev .Fatalf (context .TODO (), "%+v" , err )
409+ log .KvExec .Fatalf (context .TODO (), "%+v" , err )
410410 }
411411 txn .mu .Unlock ()
412412}
@@ -1056,7 +1056,7 @@ func (txn *Txn) rollback(ctx context.Context) *kvpb.Error {
10561056 // already committed. We don't spam the logs with those.
10571057 log .VEventf (ctx , 2 , "async rollback failed: %s" , pErr )
10581058 } else {
1059- log .Dev .Infof (ctx , "async rollback failed: %s" , pErr )
1059+ log .KvExec .Infof (ctx , "async rollback failed: %s" , pErr )
10601060 }
10611061 }
10621062 return nil
@@ -1172,7 +1172,7 @@ func (txn *Txn) exec(ctx context.Context, fn func(context.Context, *Txn) error)
11721172 // We sent transactional requests, so the TxnCoordSender was supposed to
11731173 // turn retryable errors into TransactionRetryWithProtoRefreshError. Note that this
11741174 // applies only in the case where this is the root transaction.
1175- log .Dev .Fatalf (ctx , "unexpected UnhandledRetryableError at the txn.exec() level: %s" , err )
1175+ log .KvExec .Fatalf (ctx , "unexpected UnhandledRetryableError at the txn.exec() level: %s" , err )
11761176 }
11771177 } else if t := (* kvpb .TransactionRetryWithProtoRefreshError )(nil ); errors .As (err , & t ) {
11781178 if txn .ID () != t .PrevTxnID {
@@ -1219,13 +1219,13 @@ func (txn *Txn) exec(ctx context.Context, fn func(context.Context, *Txn) error)
12191219 txn .DebugName (), attempt , err , maxRetries , rollbackErr ,
12201220 ),
12211221 ErrAutoRetryLimitExhausted )
1222- log .Dev .Warningf (ctx , "%v" , err )
1222+ log .KvExec .Warningf (ctx , "%v" , err )
12231223 break
12241224 }
12251225
12261226 const warnEvery = 10
12271227 if attempt % warnEvery == 0 {
1228- log .Dev .Warningf (ctx , "have retried transaction: %s %d times, most recently because of the " +
1228+ log .KvExec .Warningf (ctx , "have retried transaction: %s %d times, most recently because of the " +
12291229 "retryable error: %s. Is the transaction stuck in a retry loop?" , txn .DebugName (), attempt , err )
12301230 }
12311231
@@ -1395,7 +1395,7 @@ func (txn *Txn) Send(
13951395 if requestTxnID != retryErr .PrevTxnID {
13961396 // KV should not return errors for transactions other than the one that sent
13971397 // the request.
1398- log .Dev .Fatalf (ctx , "retryable error for the wrong txn. " +
1398+ log .KvExec .Fatalf (ctx , "retryable error for the wrong txn. " +
13991399 "requestTxnID: %s, retryErr.PrevTxnID: %s. retryErr: %s" ,
14001400 requestTxnID , retryErr .PrevTxnID , retryErr )
14011401 }
@@ -1629,7 +1629,7 @@ func (txn *Txn) UpdateStateOnRemoteRetryableErr(ctx context.Context, pErr *kvpb.
16291629 defer txn .mu .Unlock ()
16301630
16311631 if pErr .TransactionRestart () == kvpb .TransactionRestart_NONE {
1632- log .Dev .Fatalf (ctx , "unexpected non-retryable error: %s" , pErr )
1632+ log .KvExec .Fatalf (ctx , "unexpected non-retryable error: %s" , pErr )
16331633 }
16341634
16351635 // If the transaction has been reset since this request was sent,
0 commit comments