enable_shared_storage_snapshot_in_query by default#82634
enable_shared_storage_snapshot_in_query by default#82634alexey-milovidov merged 14 commits intomasterfrom
enable_shared_storage_snapshot_in_query by default#82634Conversation
|
Workflow [PR], commit [10ab690] Summary: ❌
|
|
Fast tests are failing in interesting ways; I’ll look into it. |
There is one problem for long running queries If you have a query that removes almost all parts during pruning, then all parts that are not used for SELECT can be removed at any time (even if query takes hours), but with this setting enabled this will not be possible, and I've already experienced issues with this here - #37913 |
|
Dear @azat, this PR hasn't been updated for a while. You will be unassigned. Will you continue working on it? If so, please feel free to reassign yourself. |
|
@azat, how big is the problem in practice, I mean, does it justify not having this by default? |
|
@amosbird, something is related to the |
It is big if you have
This may lead to a situation when HDDs will not be able to remove parts fast enough But, maybe it is a sensible default... |
It's already resolved. |
|
@amosbird, it's unclear to me why tests for FileLog have failed, maybe you will have a chance to find the reason quicker? |
|
Sure. I’ll investigate it later this week. |
|
@alexey-milovidov The issue happens because FileLog doesn’t properly clean up the context between view invocations, unlike |
|
@amosbird, we have a similar problem with |
…_shared_storage_snapshot_in_query
…_shared_storage_snapshot_in_query
|
@amosbird, for some reason, tests for |
|
There is also one more issue, that will be addressed here - #89283 |
…_shared_storage_snapshot_in_query
…ClickHouse/ClickHouse into enable_shared_storage_snapshot_in_query
Lemme check... |
|
It should be fixed by #89795 |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Enable
enable_shared_storage_snapshot_in_queryby default for better consistency guarantees. There should be no downsides.