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

storage: don't use caller's context in {Maybe,Add}Async #40539

Merged
merged 1 commit into from
Sep 11, 2019

Conversation

tbg
Copy link
Member

@tbg tbg commented Sep 6, 2019

The callers context often cancels immediately after the operation is
enqueued, and that doesn't mean that we don't want to go ahead and
queue the replica.

Was seeing lots of messages about this in the logs.

Release note: None

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@tbg
Copy link
Member Author

tbg commented Sep 6, 2019

TFTR

bors r=nvanbenschoten

@tbg
Copy link
Member Author

tbg commented Sep 6, 2019

bors r=nvanbenschoten

@nvanbenschoten
Copy link
Member

bors r+

@tbg
Copy link
Member Author

tbg commented Sep 6, 2019 via email

@craig
Copy link
Contributor

craig bot commented Sep 6, 2019

Already running a review

@tbg
Copy link
Member Author

tbg commented Sep 10, 2019 via email

@tbg
Copy link
Member Author

tbg commented Sep 11, 2019

bors r+

The callers context often cancels immediately after the operation is
enqueued, and that doesn't mean that we don't want to go ahead and
queue the replica.

Was seeing lots of messages about this in the logs.

Release note: None
@nvanbenschoten
Copy link
Member

Rebased on master, which seemed to fix the other issue.

bors r+

@craig
Copy link
Contributor

craig bot commented Sep 11, 2019

Build failed (retrying...)

craig bot pushed a commit that referenced this pull request Sep 11, 2019
40539: storage: don't use caller's context in {Maybe,Add}Async r=nvanbenschoten a=tbg

The callers context often cancels immediately after the operation is
enqueued, and that doesn't mean that we don't want to go ahead and
queue the replica.

Was seeing lots of messages about this in the logs.

Release note: None

Co-authored-by: Tobias Schottdorf <[email protected]>
@craig
Copy link
Contributor

craig bot commented Sep 11, 2019

Build succeeded

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