Skip to content

Fix http readonly request stucks on client close#10684

Merged
alexey-milovidov merged 3 commits intomasterfrom
fix_7939
May 6, 2020
Merged

Fix http readonly request stucks on client close#10684
alexey-milovidov merged 3 commits intomasterfrom
fix_7939

Conversation

@tavplubix
Copy link
Copy Markdown
Member

@tavplubix tavplubix commented May 5, 2020

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Bug Fix

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fixed bug, which causes http requests stuck on client close when readonly=2 and cancel_http_readonly_queries_on_client_close=1.
Fixes #7939, #7019, #7736, #7091

@tavplubix tavplubix added the pr-bugfix Pull request with bugfix, not backported by default label May 5, 2020
@tavplubix tavplubix marked this pull request as ready for review May 5, 2020 21:46
@champtar
Copy link
Copy Markdown
Contributor

champtar commented May 6, 2020

00834_cancel_http_readonly_queries_on_client_close failed :(

@tavplubix
Copy link
Copy Markdown
Member Author

00834_cancel_http_readonly_queries_on_client_close failed :(

It failed only with unbundled build, because Poco library without out patches is used in this build. I will disable this test with unbundled build.

@alexey-milovidov
Copy link
Copy Markdown
Member

Please check how it corresponds with #10687
Maybe the reference to Poco submodule has to be updated once again?

@tavplubix
Copy link
Copy Markdown
Member Author

Both pull requests update poco submodule to 9b347d4ab71e4436d8215aace978024e93462731, no additional updates required

@alexey-milovidov alexey-milovidov merged commit 75b0303 into master May 6, 2020
@alexey-milovidov alexey-milovidov deleted the fix_7939 branch May 6, 2020 20:01
@champtar
Copy link
Copy Markdown
Contributor

champtar commented May 6, 2020

Will this be in next 20.3 ?

@tavplubix
Copy link
Copy Markdown
Member Author

tavplubix commented May 6, 2020

It will be in 20.3.10

tavplubix pushed a commit that referenced this pull request May 8, 2020
Fix http readonly request stucks on client close

(cherry picked from commit 75b0303)
tavplubix pushed a commit that referenced this pull request May 8, 2020
Fix http readonly request stucks on client close

(cherry picked from commit 75b0303)
(cherry picked from commit 4a2d90e)
tavplubix pushed a commit that referenced this pull request May 8, 2020
Fix http readonly request stucks on client close

(cherry picked from commit 75b0303)
(cherry picked from commit 4a2d90e)
(cherry picked from commit cdd0b05)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-docs-needed pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'cancel_http_readonly_queries_on_client_close' setting cause request stuck

4 participants