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

roachpb: add canBackpressure request flag #36380

Merged
merged 3 commits into from
Apr 2, 2019

Conversation

nvanbenschoten
Copy link
Member

This commit adds a new request flag that was discussed in #36363.
Doing so allows us to remove the backpressurableReqMethods set.

This commit adds a new request flag that was discussed in cockroachdb#36363.
Doing so allows us to remove the `backpressurableReqMethods` set.

Release note: None
@nvanbenschoten nvanbenschoten requested review from dt, ajwerner and a team April 1, 2019 16:56
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My guess is that eventually we're going to add another field related to priority which will come in to play when thinking about these back pressure decisions but this yes or no flag is a good start.

Reviewed 1 of 1 files at r1, 1 of 1 files at r2, 2 of 2 files at r3.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @dt)

@nvanbenschoten
Copy link
Member Author

TFTR!

bors r+

craig bot pushed a commit that referenced this pull request Apr 2, 2019
36380: roachpb: add canBackpressure request flag r=nvanbenschoten a=nvanbenschoten

This commit adds a new request flag that was discussed in #36363.
Doing so allows us to remove the `backpressurableReqMethods` set.

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

craig bot commented Apr 2, 2019

Build succeeded

@craig craig bot merged commit bfebf4c into cockroachdb:master Apr 2, 2019
@nvanbenschoten nvanbenschoten deleted the nvanbenschoten/flags branch April 2, 2019 19:19
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