add option to disable rocksdb checksums

reference runtime state for default option initialization

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2025-01-26 07:05:00 +00:00
parent 13335042b7
commit 98f9570547
14 changed files with 62 additions and 36 deletions

View file

@ -53,7 +53,7 @@ where
{
use crate::pool::Seek;
let opts = super::iter_options_default();
let opts = super::iter_options_default(&self.db);
let state = stream::State::new(self, opts);
if is_cached(self, from) {
return stream::Keys::<'_>::from(state.init_fwd(from.as_ref().into())).boxed();