Merge pull request #12385 from ieQu1/ds-meta-ram-cache
fix(ds): Cache database metadata in RAM
This commit is contained in:
commit
ec93d8cf18
|
@ -388,7 +388,7 @@ ensure_tables() ->
|
||||||
{rlog_shard, ?SHARD},
|
{rlog_shard, ?SHARD},
|
||||||
{majority, Majority},
|
{majority, Majority},
|
||||||
{type, ordered_set},
|
{type, ordered_set},
|
||||||
{storage, rocksdb_copies},
|
{storage, disc_copies},
|
||||||
{record_name, ?META_TAB},
|
{record_name, ?META_TAB},
|
||||||
{attributes, record_info(fields, ?META_TAB)}
|
{attributes, record_info(fields, ?META_TAB)}
|
||||||
]),
|
]),
|
||||||
|
@ -396,7 +396,7 @@ ensure_tables() ->
|
||||||
{rlog_shard, ?SHARD},
|
{rlog_shard, ?SHARD},
|
||||||
{majority, Majority},
|
{majority, Majority},
|
||||||
{type, ordered_set},
|
{type, ordered_set},
|
||||||
{storage, rocksdb_copies},
|
{storage, disc_copies},
|
||||||
{record_name, ?NODE_TAB},
|
{record_name, ?NODE_TAB},
|
||||||
{attributes, record_info(fields, ?NODE_TAB)}
|
{attributes, record_info(fields, ?NODE_TAB)}
|
||||||
]),
|
]),
|
||||||
|
|
Loading…
Reference in New Issue