Skip to content

Follow-up to #69236#77280

Merged
rschu1ze merged 8 commits intoClickHouse:masterfrom
rschu1ze:less-locking
Mar 10, 2025
Merged

Follow-up to #69236#77280
rschu1ze merged 8 commits intoClickHouse:masterfrom
rschu1ze:less-locking

Conversation

@rschu1ze
Copy link
Copy Markdown
Member

@rschu1ze rschu1ze commented Mar 6, 2025

This PR is follow-up to #69236. It removes the mutex in the Entry class. It was only necessary because entries could be written while the key was already inserted in the cache and read in parallel. Now, the entry is inserted atomically.

Review note: Only commit 743d22a is relevant.

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

@clickhouse-gh
Copy link
Copy Markdown
Contributor

clickhouse-gh bot commented Mar 6, 2025

Workflow [PR], commit [588fa33]

@clickhouse-gh clickhouse-gh bot added the pr-performance Pull request with some performance improvements label Mar 6, 2025
@rschu1ze rschu1ze changed the title Remove locking in query condition cache Less locking in query condition cache Mar 6, 2025
@antonio2368 antonio2368 self-assigned this Mar 7, 2025
@rschu1ze rschu1ze added this pull request to the merge queue Mar 10, 2025
@rschu1ze rschu1ze changed the title Less locking in query condition cache Follow-up to #69236 Mar 10, 2025
Merged via the queue into ClickHouse:master with commit 7b85ead Mar 10, 2025
123 of 126 checks passed
@rschu1ze rschu1ze deleted the less-locking branch March 10, 2025 09:40
@robot-ch-test-poll1 robot-ch-test-poll1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-performance Pull request with some performance improvements pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants