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

Remove lock for duplicated parts UUIDs (allow_experimental_query_deduplication=1) #48670

Merged
merged 1 commit into from Apr 12, 2023

Conversation

azat
Copy link
Collaborator

@azat azat commented Apr 11, 2023

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

It looks redundant, since sendQuery() cannot be executed in parallel with processPacket() (hence RemoteQueryExecutor::setPartUUIDs())

This likely will fix the lock-order-inversion in RemoteQueryExecutor, since I think it is false-positive.

Fixes: #48534
Follow-up for: #17348 (cc @xjewer)

…plication=1)

It looks redundant, since sendQuery() cannot be executed in parallel
with processPacket() (hence RemoteQueryExecutor::setPartUUIDs())

This likely will fix the lock-order-inversion in RemoteQueryExecutor,
since I think it is false-positive.

Fixes: ClickHouse#48534
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-not-for-changelog This PR should not be mentioned in the changelog label Apr 11, 2023
@Avogar Avogar self-assigned this Apr 11, 2023
@azat
Copy link
Collaborator Author

azat commented Apr 12, 2023

@Avogar Avogar merged commit aa57cdb into ClickHouse:master Apr 12, 2023
254 of 255 checks passed
@azat azat deleted the fix-lock-order-inversion-for-remote branch April 12, 2023 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-not-for-changelog This PR should not be mentioned in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lock-order-inversion in RemoteQueryExecutor::sendQuery
3 participants