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: server: fix bug where SQL stats were not flushed into reportable stats #52072

Merged
merged 1 commit into from
Jul 29, 2020

Conversation

rohany
Copy link
Contributor

@rohany rohany commented Jul 29, 2020

Backport 1/1 commits from #49392.

/cc @cockroachdb/release


Fixes #49388.

This was caused by the background loops use an incorrect setup to reset
collected stats.

Also, fix a bug where statements issued at the same time that the SQL
stats are flushed would not be reported.

Release note: None

@rohany rohany requested a review from knz July 29, 2020 18:23
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@rohany
Copy link
Contributor Author

rohany commented Jul 29, 2020

I forgot to backport this :(

cc @piyush-singh

Touches cockroachdb#49388.

This was caused by the background loops use an incorrect setup to reset
collected stats.

Also, fix a bug where statements issued at the same time that the SQL
stats are flushed would not be reported.

Release note: None
@rohany rohany force-pushed the backport20.1-49392 branch from 672122a to d1aea9a Compare July 29, 2020 19:23
@RaduBerinde RaduBerinde merged commit 12049d3 into cockroachdb:release-20.1 Jul 29, 2020
@RaduBerinde RaduBerinde mentioned this pull request Jul 29, 2020
25 tasks
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