fix missing iteration-optimized read options on several stream types

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2025-01-24 23:45:35 +00:00
parent d59f68a51a
commit 94f2384fb0
6 changed files with 28 additions and 18 deletions

View file

@ -118,7 +118,7 @@ pub(super) fn is_cached<P>(map: &Arc<super::Map>, from: &P) -> bool
where
P: AsRef<[u8]> + ?Sized,
{
let cache_opts = super::cache_read_options_default();
let cache_opts = super::cache_iter_options_default();
let cache_status = stream::State::new(map, cache_opts)
.init_rev(from.as_ref().into())
.status();