Limit number of analyze for one query, att. 2#40334
Conversation
| /// Since we are reusing the same context for all queries executed simultaneously, we don't want to used shared `analyze_count` | ||
| modified_context->setSetting("max_analyze_depth", 0); |
There was a problem hiding this comment.
Seems like the same issue is possible with StorageNATS, but maybe we don't have enough tests to reproduce it:
cc: @kssenii
993fa21 to
5b412fc
Compare
src/Storages/NATS/StorageNATS.cpp
Outdated
There was a problem hiding this comment.
It's better to create a new context, but I'll leave it like that for now and fix it in follow-up PR because it's difficult to debug two issues simultaneously.
56a9421 to
a3a549c
Compare
|
This reverts commit 2d6ac7344a25134a625e879da63b9a4aa20d9a69.
a3a549c to
7d8e025
Compare
|
Issue #21557 is not fixed. |
|
Indeed, I've rechecked and query from #21557 have a problem with not |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
max_analyze_depth