fix the bad index version on opening

This commit is contained in:
Tamo
2025-01-23 12:31:10 +01:00
committed by Louis Dureuil
parent 4f21ee6c66
commit 7197ced673
16 changed files with 31 additions and 21 deletions

View File

@ -198,6 +198,7 @@ impl IndexMapper {
date,
self.enable_mdb_writemap,
self.index_base_map_size,
true,
)
.map_err(|e| Error::from_milli(e, Some(uuid.to_string())))?;
let index_rtxn = index.read_txn()?;
@ -396,6 +397,7 @@ impl IndexMapper {
None,
self.enable_mdb_writemap,
self.index_base_map_size,
false,
)
.map_err(|e| Error::from_milli(e, Some(uuid.to_string())))?;
}