forked from vesoft-inc/nebula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRocksEngineConfig.h
47 lines (31 loc) · 1.02 KB
/
RocksEngineConfig.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* Copyright (c) 2018 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
#ifndef KVSTORE_ROCKSENGINECONFIG_H_
#define KVSTORE_ROCKSENGINECONFIG_H_
#include "base/Base.h"
#include "rocksdb/db.h"
// [Version]
DECLARE_string(rocksdb_options_version);
// [DBOptions]
DECLARE_string(rocksdb_db_options);
// [CFOptions "default"]
DECLARE_string(rocksdb_column_family_options);
// [TableOptions/BlockBasedTable "default"]
DECLARE_string(rocksdb_block_based_table_options);
// memtable_factory
DECLARE_string(memtable_factory);
// rocksdb db wal disable
DECLARE_bool(rocksdb_disable_wal);
// BlockBasedTable block_cache
DECLARE_int64(rocksdb_block_cache);
DECLARE_int32(rocksdb_batch_size);
DECLARE_string(part_man_type);
namespace nebula {
namespace kvstore {
rocksdb::Status initRocksdbOptions(rocksdb::Options &baseOpts);
} // namespace kvstore
} // namespace nebula
#endif // KVSTORE_ROCKSENGINECONFIG_H_