Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kvserver: add server-side transaction retry metrics #84883

Merged

Conversation

arulajmani
Copy link
Collaborator

@arulajmani arulajmani commented Jul 21, 2022

This patch adds a few new metrics to track successful/failed
server-side transaction retries. Specifically, whenever we attempt
to retry a read or write batch or run into a read within uncertainty
interval error, we increment specific counters indicating if the
retry was successful or not.

Release note: None

@arulajmani arulajmani requested a review from a team as a code owner July 21, 2022 21:53
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@nvanbenschoten nvanbenschoten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 4 of 4 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @arulajmani)

@arulajmani
Copy link
Collaborator Author

Thanks!

bors r+

@arulajmani
Copy link
Collaborator Author

bors r-

@craig
Copy link
Contributor

craig bot commented Jul 26, 2022

Canceled.

This patch addes a few new metrics to track successful/failed
server-side transaction retries. Specifically, whenever we attempt
to retry a read or write batch or run into a read within uncertainty
interval error, we increment specific counters indicating if the
retry was successful or not.

Release note: None
@arulajmani arulajmani force-pushed the server-side–txn-refresh-metrics branch from a2f9858 to c2dd3e9 Compare July 26, 2022 21:24
@arulajmani arulajmani requested a review from a team July 26, 2022 21:24
@arulajmani
Copy link
Collaborator Author

bors r+

@craig
Copy link
Contributor

craig bot commented Jul 27, 2022

Build succeeded:

@craig craig bot merged commit 811ca1f into cockroachdb:master Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants