TEST(RocksDBOption, simple) {
rocksdb::Options options;
rocksdb::Status status;
- RocksDBStore *db = new RocksDBStore(g_ceph_context, dir, NULL);
+ map<string,string> kvoptions;
+ RocksDBStore *db = new RocksDBStore(g_ceph_context, dir, kvoptions, NULL);
string options_string = ""
"write_buffer_size=536870912;"
"create_if_missing=true;"
TEST(RocksDBOption, interpret) {
rocksdb::Options options;
rocksdb::Status status;
- RocksDBStore *db = new RocksDBStore(g_ceph_context, dir, NULL);
+ map<string,string> kvoptions;
+ RocksDBStore *db = new RocksDBStore(g_ceph_context, dir, kvoptions, NULL);
string options_string = "compact_on_mount = true; compaction_threads=10;flusher_threads=5;";
int r = db->ParseOptionsFromString(options_string, options);