Skip to content

Commit

Permalink
kv: introduce trace event on concurrency retry error
Browse files Browse the repository at this point in the history
Improves observability.

Release note: None
Epic: None
  • Loading branch information
nvanbenschoten committed Jan 13, 2023
1 parent f2d5e16 commit 7de1273
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/kv/kvserver/replica_send.go
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,8 @@ func (r *Replica) executeBatchWithConcurrencyRetries(
return nil, nil, pErr
}

log.VErrEventf(ctx, 2, "concurrency retry error: %s", pErr)

// The batch execution func returned a server-side concurrency retry error.
// It may have either handed back ownership of the concurrency guard without
// having already released the guard's latches, or in case of certain types
Expand Down

0 comments on commit 7de1273

Please sign in to comment.