mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
fixed : code style
This commit is contained in:
parent
a66a23c2e7
commit
d0de8ce961
@ -126,7 +126,7 @@ RemoteReadBufferCacheError RemoteCacheController::waitMoreData(size_t start_offs
|
||||
return RemoteReadBufferCacheError::OK;
|
||||
}
|
||||
else
|
||||
more_data_signal.wait(lock, [this, end_offset_] { return this->download_finished || this->current_offset >= end_offset_ ;});
|
||||
more_data_signal.wait(lock, [this, end_offset_] { return this->download_finished || this->current_offset >= end_offset_; });
|
||||
}
|
||||
lock.unlock();
|
||||
return RemoteReadBufferCacheError::OK;
|
||||
@ -436,7 +436,6 @@ void RemoteReadBufferCache::recover_cached_files_meta(
|
||||
auto &cell = caches[path];
|
||||
cell.cache_controller = cache_cntrl;
|
||||
cell.key_iterator = keys.insert(keys.end(), path);
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
@ -221,7 +221,7 @@ private:
|
||||
std::filesystem::path calculateLocalPath(const RemoteFileMeta &meta);
|
||||
|
||||
void recover_cached_files_meta(
|
||||
const std::filesystem::path & current_path_,
|
||||
const std::filesystem::path & current_path_,
|
||||
size_t current_depth,
|
||||
size_t max_depth,
|
||||
std::function<void(RemoteCacheController *)> const & finish_callback);
|
||||
|
Loading…
Reference in New Issue
Block a user