Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
64531: kvserver: fix metrics collection for rejected lease requests r=aayushshah15 a=aayushshah15 Previously, we were only updating the `leases.error` (metric measuring the number of failed lease requests) if a lease request failed during command evaluation. However after #55148, lease requests can be rejected by the replica proposal buffer if there is a known raft leader that is different from the replica requesting the lease. We were not recording such rejections as failed lease requests in the metrics. This commit fixes this oversight. Release note: None Co-authored-by: Aayush Shah <[email protected]>
- Loading branch information