mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
rename new method
This commit is contained in:
parent
9ab545e28c
commit
d41eca1dcc
@ -186,7 +186,7 @@ void DistributedAsyncInsertDirectoryQueue::shutdownAndDropAllData()
|
||||
fs::remove_all(path);
|
||||
}
|
||||
|
||||
void DistributedAsyncInsertDirectoryQueue::shutdown()
|
||||
void DistributedAsyncInsertDirectoryQueue::shutdownWithoutFlush()
|
||||
{
|
||||
/// It's incompatible with should_batch_inserts
|
||||
/// because processFilesWithBatching may push to the queue after shutdown
|
||||
|
@ -66,7 +66,7 @@ public:
|
||||
|
||||
void shutdownAndDropAllData();
|
||||
|
||||
void shutdown();
|
||||
void shutdownWithoutFlush();
|
||||
|
||||
static std::shared_ptr<ISource> createSourceFromFile(const String & file_name);
|
||||
|
||||
|
@ -1476,7 +1476,7 @@ void StorageDistributed::flushClusterNodesAllData(ContextPtr local_context)
|
||||
if (need_flush)
|
||||
node->flushAllData();
|
||||
else
|
||||
node->shutdown();
|
||||
node->shutdownWithoutFlush();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user