mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Merge pull request #62230 from ClickHouse/revert-62050-vdimir/dictioary_reload_twice_on_start2
Revert "Resubmit 'Update invalidate_query_response on dictionary startup'"
This commit is contained in:
commit
3b877c3624
@ -997,14 +997,6 @@ private:
|
||||
if (!new_object && !new_exception)
|
||||
throw Exception(ErrorCodes::LOGICAL_ERROR, "No object created and no exception raised for {}", type_name);
|
||||
|
||||
if (!info->object && new_object)
|
||||
{
|
||||
/// If we loaded the object for the first time then we should set `invalidate_query_response` to the current value.
|
||||
/// Otherwise we will immediately try to reload the object again despite the fact that it was just loaded.
|
||||
bool is_modified = new_object->isModified();
|
||||
LOG_TRACE(log, "Object '{}' was{} modified", name, (is_modified ? "" : " not"));
|
||||
}
|
||||
|
||||
/// Saving the result of the loading.
|
||||
{
|
||||
LoadingGuardForAsyncLoad lock(async, mutex);
|
||||
|
Loading…
Reference in New Issue
Block a user