Skip to content

kvserver: add server-side transaction retry metrics#84883

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
arulajmani:server-side–txn-refresh-metrics
Jul 27, 2022

Hidden character warning

The head ref may contain hidden characters: "server-side\u2013txn-refresh-metrics"
Merged

kvserver: add server-side transaction retry metrics#84883
craig[bot] merged 1 commit intocockroachdb:masterfrom
arulajmani:server-side–txn-refresh-metrics

Conversation

@arulajmani
Copy link
Copy Markdown
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 nvb July 21, 2022 21:53
@arulajmani arulajmani requested a review from a team as a code owner July 21, 2022 21:53
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@nvb nvb 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
Copy Markdown
Collaborator Author

Thanks!

bors r+

@arulajmani
Copy link
Copy Markdown
Collaborator Author

bors r-

@craig
Copy link
Copy Markdown
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
Copy Markdown
Collaborator Author

bors r+

@craig
Copy link
Copy Markdown
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