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

Destroy the text log queue after the I/O blocks. #5854

Merged
merged 1 commit into from
Jul 4, 2019
Merged

Conversation

akuzm
Copy link
Contributor

@akuzm akuzm commented Jul 3, 2019

These blocks contain threads that use the queue, so they must be
destroyed first. This was reported by ThreadSanitizer.

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

For changelog. Remove if this is non-significant change.

Category (leave one):

  • Build/Testing/Packaging Improvement

Short description (up to few sentences):
Fix some ThreadSanitizer failures.

These blocks contain threads that use the queue, so they must be
destroyed first. This was reported by ThreadSanitizer.
@alexey-milovidov alexey-milovidov changed the title Destroy the query log queue after the I/O blocks. Destroy the text log queue after the I/O blocks. Jul 3, 2019
@alexey-milovidov
Copy link
Member

Congratulations, you've done it!

Stress test (thread) — No errors found

@akuzm
Copy link
Contributor Author

akuzm commented Jul 4, 2019

The other failure I had locally is caused by libunwind from my distribution. Since we now have libunwind in contrib that doesn't have the problem, I won't fix it. Will merge now.

@akuzm akuzm marked this pull request as ready for review July 4, 2019 16:20
@akuzm akuzm merged commit 74d1778 into master Jul 4, 2019
stavrolia pushed a commit that referenced this pull request Jul 5, 2019
These blocks contain threads that use the queue, so they must be
destroyed first. This was reported by ThreadSanitizer.

(cherry picked from commit 74d1778)
@stavrolia stavrolia added the v19.9 label Jul 5, 2019
@abyss7 abyss7 added the pr-bugfix Pull request with bugfix, not backported by default label Jul 11, 2019
abyss7 pushed a commit that referenced this pull request Jul 11, 2019
These blocks contain threads that use the queue, so they must be
destroyed first. This was reported by ThreadSanitizer.

(cherry picked from commit 74d1778)
@abyss7 abyss7 added the v19.10 label Jul 11, 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.

4 participants