mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
fixed config error in server startup
This commit is contained in:
parent
15504a4bfa
commit
b6c230606e
@ -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>
|
||||||
|
@ -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>,
|
||||||
|
Loading…
Reference in New Issue
Block a user