Skip to content

kvserver: fix raft handling stats when no ready present#81660

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
tbg:handle-ready-stats
May 23, 2022
Merged

kvserver: fix raft handling stats when no ready present#81660
craig[bot] merged 1 commit intocockroachdb:masterfrom
tbg:handle-ready-stats

Conversation

@tbg
Copy link
Copy Markdown
Member

@tbg tbg commented May 23, 2022

We were previously adding time.Time{}.Sub(timeutil.Now()) to
the metrics some of the time which produces bogus results.

Noticed while working on #81516.

Release note: None

We were previously adding `time.Time{}.Sub(timeutil.Now()` to
the metrics which produces bogus results.

Release note: None
@tbg tbg requested a review from a team May 23, 2022 13:02
@tbg tbg requested a review from a team as a code owner May 23, 2022 13:02
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@tbg
Copy link
Copy Markdown
Member Author

tbg commented May 23, 2022

bors r=erikgrinaker

@craig
Copy link
Copy Markdown
Contributor

craig bot commented May 23, 2022

Build succeeded:

@craig craig bot merged commit 1d09af8 into cockroachdb:master May 23, 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