enable the paranoid-checks options in debug mode
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
6db8df5e23
commit
13335042b7
1 changed files with 7 additions and 0 deletions
|
@ -72,6 +72,13 @@ fn descriptor_cf_options(
|
||||||
opts.set_options_from_string("{{arena_block_size=2097152;}}")
|
opts.set_options_from_string("{{arena_block_size=2097152;}}")
|
||||||
.map_err(map_err)?;
|
.map_err(map_err)?;
|
||||||
|
|
||||||
|
#[cfg(debug_assertions)]
|
||||||
|
opts.set_options_from_string(
|
||||||
|
"{{paranoid_checks=true;paranoid_file_checks=true;force_consistency_checks=true;\
|
||||||
|
verify_sst_unique_id_in_manifest=true;}}",
|
||||||
|
)
|
||||||
|
.map_err(map_err)?;
|
||||||
|
|
||||||
Ok(opts)
|
Ok(opts)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue