From 0264afd7da6e3b2e8fd0e5c716c5cae83b1ae48f Mon Sep 17 00:00:00 2001 From: lgbo-ustc Date: Wed, 1 Dec 2021 11:03:33 +0800 Subject: [PATCH] remove some comments --- src/IO/RemoteReadBufferCache.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/IO/RemoteReadBufferCache.cpp b/src/IO/RemoteReadBufferCache.cpp index 5e707be3965..6c71f3d5605 100644 --- a/src/IO/RemoteReadBufferCache.cpp +++ b/src/IO/RemoteReadBufferCache.cpp @@ -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}; } }