write the version of the index while upgrading it

This commit is contained in:
Tamo 2025-01-23 11:47:00 +01:00 committed by Louis Dureuil
parent 8f65f35de9
commit 787472453d
No known key found for this signature in database
2 changed files with 1 additions and 1 deletions

View file

@ -60,6 +60,7 @@ pub fn upgrade(
upgrade_path.len() as u32,
));
regenerate_stats |= upgrade.upgrade(wtxn, index, from, progress.clone())?;
index.put_version(wtxn, target)?;
current_version = target;
}