Skip to content

Fix logical race on dictionaries loading#28853

Merged
CurtizJ merged 1 commit intomasterfrom
fix_logical_race_on_dictionaries_loading
Sep 11, 2021
Merged

Fix logical race on dictionaries loading#28853
CurtizJ merged 1 commit intomasterfrom
fix_logical_race_on_dictionaries_loading

Conversation

@tavplubix
Copy link
Copy Markdown
Member

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

Changelog category (leave one):

  • Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fixed race condition that might cause Dictionary not found error for existing dictionary in rare cases.

Detailed description / Documentation draft:
Do not backport, because changes look dangerous (but I don't know how to fix it a better way, ExternalLoader is too comlicated).
Some logs that illustrate the race condition: https://gist.github.com/tavplubix/e0fb03a74e8cc7e32ec06e208dc0c13e

@robot-clickhouse robot-clickhouse added the pr-improvement Pull request with some product improvements label Sep 10, 2021
@CurtizJ CurtizJ self-requested a review September 10, 2021 10:55
@CurtizJ CurtizJ self-assigned this Sep 10, 2021
@CurtizJ CurtizJ removed their request for review September 10, 2021 10:56
@CurtizJ CurtizJ merged commit a4153e5 into master Sep 11, 2021
@CurtizJ CurtizJ deleted the fix_logical_race_on_dictionaries_loading branch September 11, 2021 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-improvement Pull request with some product improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants