store: remove rotate_memtable as could be the root cause of the issue

This commit is contained in:
nym21
2025-07-14 15:48:19 +02:00
parent ec960bfefa
commit c4ed6ed034
6 changed files with 28 additions and 58 deletions

View File

@@ -761,8 +761,6 @@ impl Indexer {
export_if_needed(stores, vecs, idxs.height, true, exit)?;
stores.rotate_memtables();
Ok(starting_indexes)
}
}

View File

@@ -181,12 +181,6 @@ impl Stores {
.map_err(|e| e.into())
}
pub fn rotate_memtables(&self) {
self.as_slice()
.into_iter()
.for_each(|store| store.rotate_memtable());
}
fn as_slice(&self) -> [&(dyn AnyStore + Send + Sync); 11] {
[
&self.addressbyteshash_to_typeindex,