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

net/http: bundled http2 uses priority-based scheduler instead of round robin scheduler #64216

Closed
WeidiDeng opened this issue Nov 17, 2023 · 6 comments
Labels
NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@WeidiDeng
Copy link

What version of Go are you using (go version)?

$ go version
1.21.4

Does this issue reproduce with the latest release?

Yes

What did you expect to see?

Bundled http2 uses round robin scheduler.

What did you see instead?

By default, bundled http2 support should use round robin scheduler according to this comment and commit. Howerver, it will still use the old priority scheduler because this field is set, which prevented the default behavior from happening.

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/543178 mentions this issue: net/http: bundled http2 uses the new round-robin scheduler

@bcmills
Copy link
Contributor

bcmills commented Nov 17, 2023

(attn @neild)

@mknyszek mknyszek changed the title net/http: Bundled http2 uses priory scheduler instead of round robin scheduler net/http: Bundled http2 uses priority-based scheduler instead of round robin scheduler Nov 20, 2023
@mknyszek mknyszek added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Nov 20, 2023
@mknyszek mknyszek added this to the Backlog milestone Nov 20, 2023
@seankhliao seankhliao changed the title net/http: Bundled http2 uses priority-based scheduler instead of round robin scheduler net/http: bundled http2 uses priority-based scheduler instead of round robin scheduler Nov 21, 2023
@linxiulei
Copy link

Gentle ping @WeidiDeng. Your CL https://go.dev/cl/543178 is ready to submit. Would you like to submit it?

@bcmills bcmills modified the milestones: Backlog, Go1.23 Jan 4, 2024
@bcmills
Copy link
Contributor

bcmills commented Jan 4, 2024

I think at this point in the release cycle, changing the http2 scheduler would need a freeze exception from @golang/release — RC1 is out for testing and does not include the change, which seems like it may be significant for some users.

@linxiulei
Copy link

Duplicate of #67706

I think it can be closed now.

@WeidiDeng
Copy link
Author

@linxiulei I was the first to report the problem and I made a pr that addresses this problem, but it never got merged. I would call #67706 a duplicate of this instead of the other way round.

It is fixed, so whatever 🤷 .

@dmitshur dmitshur added NeedsFix The path to resolution is known, but the work has not been done. and removed NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants