OPTION(mon_leveldb_bloom_size, OPT_INT, 0) // monitor's leveldb bloom bits per entry
OPTION(mon_leveldb_max_open_files, OPT_INT, 0) // monitor's leveldb max open files
OPTION(mon_leveldb_compression, OPT_BOOL, false) // monitor's leveldb uses compression
+OPTION(mon_leveldb_paranoid, OPT_BOOL, false) // monitor's leveldb paranoid flag
OPTION(paxos_stash_full_interval, OPT_INT, 25) // how often (in commits) to stash a full copy of the PaxosService state
OPTION(paxos_max_join_drift, OPT_INT, 10) // max paxos iterations before we must first sync the monitor stores
OPTION(paxos_propose_interval, OPT_DOUBLE, 1.0) // gather updates for this long before proposing a map update
db->options.bloom_size = g_conf->mon_leveldb_bloom_size;
db->options.compression_enabled = g_conf->mon_leveldb_compression;
db->options.max_open_files = g_conf->mon_leveldb_max_open_files;
+ db->options.paranoid_checks = g_conf->mon_leveldb_paranoid;
}
MonitorDBStore(LevelDBStore *db_ptr) {
db.reset(db_ptr);