Skip to content

Fix bug with Throttler and query speed estimation#11296

Merged
alexey-milovidov merged 15 commits intomasterfrom
fix-false-too-slow
May 31, 2020
Merged

Fix bug with Throttler and query speed estimation#11296
alexey-milovidov merged 15 commits intomasterfrom
fix-false-too-slow

Conversation

@alexey-milovidov
Copy link
Copy Markdown
Member

@alexey-milovidov alexey-milovidov commented May 29, 2020

Changelog category (leave one):

  • Bug Fix

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix bug when query speed estimation can be incorrect and the limit of min_execution_speed may not work or work incorrectly if the query is throttled by max_network_bandwidth, max_execution_speed or priority settings. Change the default value of timeout_before_checking_execution_speed to non-zero, because otherwise the settings min_execution_speed and max_execution_speed have no effect. This fixes #11297. This fixes #5732. This fixes #6228. Usability improvement: avoid concatenation of exception message with progress bar in clickhouse-client.

@blinkov blinkov added the pr-bugfix Pull request with bugfix, not backported by default label May 29, 2020
@alexey-milovidov
Copy link
Copy Markdown
Member Author

alexey-milovidov commented May 29, 2020

Broken in #7181
Since 19.17: 627d48c

@alexey-milovidov
Copy link
Copy Markdown
Member Author

alexey-milovidov commented May 29, 2020

The issue #6417 is not relevant to this bug but has to be checked again.
No more relevant issues found on GitHub.

@alexey-milovidov alexey-milovidov marked this pull request as ready for review May 29, 2020 19:44
@alexey-milovidov
Copy link
Copy Markdown
Member Author

Stress test (thread) — Sanitizer assert (in stderr.log)

Actually it's OOM on Sandbox server (misleading message).

@alexey-milovidov alexey-milovidov merged commit 97d9f21 into master May 31, 2020
@alexey-milovidov alexey-milovidov deleted the fix-false-too-slow branch May 31, 2020 11:18
@alexey-milovidov
Copy link
Copy Markdown
Member Author

@alexey-milovidov
Copy link
Copy Markdown
Member Author

Here is the only commit that has to be backported: 9d39fc6

@KochetovNicolai
Copy link
Copy Markdown
Member

@alexey-milovidov you should not add tags before bugfix is backported. Otherwise release script will think that you have already done it manually.

KochetovNicolai pushed a commit that referenced this pull request Jun 8, 2020
Fix bug with Throttler and query speed estimation

(cherry picked from commit 97d9f21)
KochetovNicolai pushed a commit that referenced this pull request Jun 8, 2020
Fix bug with Throttler and query speed estimation

(cherry picked from commit 97d9f21)
KochetovNicolai pushed a commit that referenced this pull request Jun 8, 2020
Fix bug with Throttler and query speed estimation

(cherry picked from commit 97d9f21)
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

3 participants