remove some comments

This commit is contained in:
lgbo-ustc 2021-12-01 11:03:33 +08:00 committed by liangjiabiao
parent aaa5d8f002
commit 0264afd7da

View File

@ -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 = context->getSchedulePool().createTask("recover local cache meta data for remote files", [this]{ recoverTask(); });
recover_task_holder->activateAndSchedule(); recover_task_holder->activateAndSchedule();
//getThreadPool()->scheduleOrThrow([this]{recoverTask();});
} }
String RemoteReadBufferCache::calculateLocalPath(const RemoteFileMetadata & meta) const String RemoteReadBufferCache::calculateLocalPath(const RemoteFileMetadata & meta) const
@ -503,6 +502,8 @@ RemoteReadBufferCache::createReader(ContextPtr context, const RemoteFileMetadata
else else
{ {
// maybe someone is holding this file // 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}; return {nullptr, RemoteReadBufferCacheError::FILE_INVALID};
} }
} }