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.2: sql,metrics: do not increment ROLLBACK counter if in CommitWait #60250

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.
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@rafiss rafiss merged commit b001290 into cockroachdb:release-20.2 Feb 10, 2021
@rafiss rafiss deleted the backport20.2-59781 branch February 10, 2021 01:35
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.

None yet

3 participants