mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Merge pull request #43833 from ClickHouse/tavplubix-patch-1
Do not postpone removal of in-memory tables
This commit is contained in:
commit
35fbff5a21
@ -869,6 +869,8 @@ void DatabaseCatalog::enqueueDroppedTableCleanup(StorageID table_id, StoragePtr
|
||||
{
|
||||
chassert(hasUUIDMapping(table_id.uuid));
|
||||
drop_time = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
|
||||
/// Do not postpone removal of in-memory tables
|
||||
ignore_delay = ignore_delay || !table->storesDataOnDisk();
|
||||
table->is_dropped = true;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user