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

release-20.1: sql,metrics: do not increment ROLLBACK counter if in CommitWait #60251

Merged
merged 1 commit into from
Feb 10, 2021

Conversation

rafiss
Copy link
Collaborator

@rafiss rafiss commented Feb 9, 2021

Backport 1/1 commits from #59781.

/cc @cockroachdb/release


fixes #50780

Release note (bug fix): Previously if RELEASE SAVEPOINT cockroach_restart
was followed by ROLLBACK, the sql.txn.rollback.count
metric would be incremented. This was incorrect, since the txn had already
committed. Now that metric is not incremented in this case.

Release note (bug fix): Previously if `RELEASE SAVEPOINT
cockroach_restart` was followed by `ROLLBACK`, the
`sql.txn.rollback.count` metric would be incremented. This was
incorrect, since the txn had already committed. Now that metric is not
incremented in this case.
@rafiss rafiss requested a review from arulajmani February 9, 2021 20:06
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@rafiss rafiss merged commit 90f7826 into cockroachdb:release-20.1 Feb 10, 2021
@rafiss rafiss deleted the backport20.1-59781 branch February 10, 2021 01:34
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