Disable MemoryAccessStorage.

This commit is contained in:
Vitaly Baranov 2020-04-05 19:40:35 +03:00
parent b71ff6160a
commit d064ddfe13
3 changed files with 5 additions and 0 deletions

View File

@ -23,7 +23,10 @@ namespace
std::vector<std::unique_ptr<IAccessStorage>> list;
list.emplace_back(std::make_unique<DiskAccessStorage>());
list.emplace_back(std::make_unique<UsersConfigAccessStorage>());
#if 0 /// Memory access storage is disabled.
list.emplace_back(std::make_unique<MemoryAccessStorage>());
#endif
return list;
}

View File

@ -118,6 +118,7 @@ ServerThread.DEFAULT_SERVER_CONFIG = \
<path>{tmp_dir}/data/</path>
<tmp_path>{tmp_dir}/tmp/</tmp_path>
<access_control_path>{tmp_dir}/data/access/</access_control_path>
<users_config>users.xml</users_config>
<mark_cache_size>5368709120</mark_cache_size>

View File

@ -47,6 +47,7 @@
<path>/tmp/clickhouse/data/</path>
<tmp_path>/tmp/clickhouse/tmp/</tmp_path>
<users_config>users.xml</users_config>
<access_control_path>/tmp/clickhouse/data/access/</access_control_path>
<mark_cache_size>5368709120</mark_cache_size>
<default_profile>default</default_profile>
<default_database>default</default_database>