mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 11:52:27 +00:00
remove some comments
This commit is contained in:
parent
aaa5d8f002
commit
0264afd7da
@ -439,7 +439,6 @@ void RemoteReadBufferCache::initOnce(
|
||||
|
||||
recover_task_holder = context->getSchedulePool().createTask("recover local cache meta data for remote files", [this]{ recoverTask(); });
|
||||
recover_task_holder->activateAndSchedule();
|
||||
//getThreadPool()->scheduleOrThrow([this]{recoverTask();});
|
||||
}
|
||||
|
||||
String RemoteReadBufferCache::calculateLocalPath(const RemoteFileMetadata & meta) const
|
||||
@ -503,6 +502,8 @@ RemoteReadBufferCache::createReader(ContextPtr context, const RemoteFileMetadata
|
||||
else
|
||||
{
|
||||
// maybe someone is holding this file
|
||||
LOG_INFO(log, "The remote file {} has been updated, but the previous readers do not finish reading.",
|
||||
remote_path);
|
||||
return {nullptr, RemoteReadBufferCacheError::FILE_INVALID};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user