forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kvclient: improve logging of slow RPCs in DistSender
Release justification: small change improving logging, hoping to help debug cockroachdb#53197. This patch moves the logging that the DistSender does when it detects an RPC that is slow such that it kicks in in more cases: 1) if the RPC was successful (but slow) 2) if the lower layer in the DistSender failed to contact any replica and returned a sendError{}. In this case the range descriptor will be refreshed and the RPC will be retried, similar to the case in which a replica returned RangeKeyMismatchError. The RKME case was already covered by the logging, but the sendError case wasn't. Touches cockroachdb#53197 Release note: None
- Loading branch information
1 parent
d2c73b3
commit 038045b
Showing
2 changed files
with
41 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters