fixed config error in server startup

This commit is contained in:
lgbo-ustc 2021-12-07 14:46:17 +08:00 committed by liangjiabiao
parent 15504a4bfa
commit b6c230606e
2 changed files with 3 additions and 3 deletions

View File

@ -1257,8 +1257,7 @@
<local_cache_for_remote_fs> <local_cache_for_remote_fs>
<enable>true</enable> <enable>true</enable>
<root_dir>/var/lib/clickhouse/local_cache</root_dir> <root_dir>/var/lib/clickhouse/local_cache</root_dir>
<quota>53687091200</quota> <limit_size>559096952</limit_size>
<bytes_read_before_flush>1048576</bytes_read_before_flush> <bytes_read_before_flush>1048576</bytes_read_before_flush>
<max_threads>1024</max_threads>
</local_cache_for_remote_fs> </local_cache_for_remote_fs>
</clickhouse> </clickhouse>

View File

@ -20,6 +20,7 @@
#include <IO/IRemoteFileMetadata.h> #include <IO/IRemoteFileMetadata.h>
#include <condition_variable> #include <condition_variable>
#include <Interpreters/Context.h> #include <Interpreters/Context.h>
#include <boost/core/noncopyable.hpp>
namespace DB namespace DB
@ -174,7 +175,7 @@ struct RemoteFileCacheEvictPolicy
} }
}; };
class RemoteReadBufferCache class RemoteReadBufferCache : private boost::noncopyable
{ {
public: public:
using CacheType = LRUCache<String, RemoteCacheController, std::hash<String>, using CacheType = LRUCache<String, RemoteCacheController, std::hash<String>,