add rocksdb paranoid_file_checks config option, add some more config checks
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
1606441d09
commit
61670370ed
4 changed files with 87 additions and 54 deletions
|
@ -95,6 +95,8 @@ pub(crate) fn db_options(config: &Config, env: &mut Env, row_cache: &Cache, col_
|
|||
4_u8..=u8::MAX => unimplemented!(),
|
||||
});
|
||||
|
||||
opts.set_paranoid_checks(config.rocksdb_paranoid_file_checks);
|
||||
|
||||
opts.set_env(env);
|
||||
Ok(opts)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue