From 129bc465fe0b6c4f73503f2757babff8f7309c47 Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Mon, 25 Nov 2024 18:26:09 +0100 Subject: [PATCH] Re-remove the write map --- crates/index-scheduler/src/index_mapper/index_map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/index-scheduler/src/index_mapper/index_map.rs b/crates/index-scheduler/src/index_mapper/index_map.rs index 4114d9947..f8080d23b 100644 --- a/crates/index-scheduler/src/index_mapper/index_map.rs +++ b/crates/index-scheduler/src/index_mapper/index_map.rs @@ -305,7 +305,7 @@ fn create_or_open_index( options.map_size(clamp_to_page_size(map_size)); options.max_readers(1024); if enable_mdb_writemap { - unsafe { options.flags(EnvFlags::WRITE_MAP | EnvFlags::MAP_ASYNC) }; + unsafe { options.flags(EnvFlags::WRITE_MAP) }; } if let Some((created, updated)) = date {