Skip to content

spanconfig: fix an erroneous usage of timeutil.Timer#70436

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
irfansharif:210920.fix-spanconfig-manager
Sep 20, 2021
Merged

spanconfig: fix an erroneous usage of timeutil.Timer#70436
craig[bot] merged 1 commit intocockroachdb:masterfrom
irfansharif:210920.fix-spanconfig-manager

Conversation

@irfansharif
Copy link
Copy Markdown
Contributor

The contract for timeutil.Timer indicates that we should only be
setting .Read when reading from the timer channel, not unconditionally
before a call to .Reset().

Release note: None

The contract for timeutil.Timer indicates that we should only be
setting .Read when reading from the timer channel, not unconditionally
before a call to .Reset().

Release note: None
@irfansharif irfansharif requested a review from nvb September 20, 2021 16:07
@irfansharif irfansharif requested a review from a team as a code owner September 20, 2021 16:07
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@irfansharif
Copy link
Copy Markdown
Contributor Author

Thanks!

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Sep 20, 2021

Build failed (retrying...):

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Sep 20, 2021

Build succeeded:

@craig craig bot merged commit bfdcfa0 into cockroachdb:master Sep 20, 2021
@irfansharif irfansharif deleted the 210920.fix-spanconfig-manager branch September 21, 2021 01:02
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