mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 13:10:48 +00:00
Allow allocations
This commit is contained in:
parent
ea0fbf81af
commit
17d65b3d7b
@ -147,7 +147,6 @@ void MergeTreeBackgroundExecutor::routine(ItemPtr item)
|
|||||||
|
|
||||||
auto erase_from_active = [&]
|
auto erase_from_active = [&]
|
||||||
{
|
{
|
||||||
DENY_ALLOCATIONS_IN_SCOPE;
|
|
||||||
active.erase(std::remove(active.begin(), active.end(), item), active.end());
|
active.erase(std::remove(active.begin(), active.end(), item), active.end());
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -155,7 +154,6 @@ void MergeTreeBackgroundExecutor::routine(ItemPtr item)
|
|||||||
{
|
{
|
||||||
if (item->task->execute())
|
if (item->task->execute())
|
||||||
{
|
{
|
||||||
DENY_ALLOCATIONS_IN_SCOPE;
|
|
||||||
std::lock_guard guard(mutex);
|
std::lock_guard guard(mutex);
|
||||||
|
|
||||||
if (currently_deleting.contains(item->task->getStorageID()))
|
if (currently_deleting.contains(item->task->getStorageID()))
|
||||||
|
Loading…
Reference in New Issue
Block a user