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

Avoid std::terminate in write buffers #8384

Merged
merged 4 commits into from
Dec 24, 2019

Conversation

alexey-milovidov
Copy link
Member

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 (up to few sentences, required except for Non-significant/Documentation categories):
Fixed possible server crash (std::terminate) when the server cannot send or write data in JSON or XML format with values of String data type (that require UTF-8 validation) or when compressing result data with Brotli algorithm or in some other rare cases. This fixes #7603

Detailed description (optional):
This PR also contains commits from #8380 due to occasion.

@alexey-milovidov alexey-milovidov added the pr-bugfix Pull request with bugfix, not backported by default label Dec 24, 2019
@alexey-milovidov alexey-milovidov merged commit c949eb5 into master Dec 24, 2019
vitlibar pushed a commit that referenced this pull request Dec 26, 2019
…-buffers

Avoid std::terminate in write buffers

(cherry picked from commit c949eb5)
vitlibar pushed a commit to vitlibar/ClickHouse that referenced this pull request Dec 26, 2019
…e-in-write-buffers

Avoid std::terminate in write buffers

(cherry picked from commit c949eb5)
vitlibar pushed a commit that referenced this pull request Dec 26, 2019
…-buffers

Avoid std::terminate in write buffers

(cherry picked from commit c949eb5)
vitlibar pushed a commit that referenced this pull request Dec 26, 2019
…-buffers

Avoid std::terminate in write buffers

(cherry picked from commit c949eb5)
vitlibar pushed a commit that referenced this pull request Dec 27, 2019
…-buffers

Avoid std::terminate in write buffers

(cherry picked from commit c949eb5)
@vitlibar vitlibar mentioned this pull request Dec 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-bugfix Pull request with bugfix, not backported by default
Projects
None yet
Development

Successfully merging this pull request may close these issues.

19.16.2.2 (official build) crash
2 participants