Skip to content

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

Merged
Avogar merged 1 commit intoClickHouse:masterfrom
azat:fix-lock-order-inversion-for-remote
Apr 12, 2023
Merged

Remove lock for duplicated parts UUIDs (allow_experimental_query_deduplication=1)#48670
Avogar merged 1 commit intoClickHouse:masterfrom
azat:fix-lock-order-inversion-for-remote

Conversation

@azat
Copy link
Copy Markdown
Member

@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 <[email protected]>
@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
Copy Markdown
Member Author

azat commented Apr 12, 2023

@Avogar Avogar merged commit aa57cdb into ClickHouse:master Apr 12, 2023
@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