Implement the index compaction task

This commit is contained in:
Kerollmops
2025-10-06 18:17:59 +02:00
parent 3877e0043c
commit 38cbd54604
2 changed files with 107 additions and 4 deletions

View File

@@ -138,6 +138,16 @@ make_enum_progress! {
}
}
make_enum_progress! {
pub enum IndexCompaction {
RetrieveTheIndex,
CreateTemporaryFile,
CopyAndCompactTheIndex,
PersistTheCompactedIndex,
CloseTheIndex,
}
}
make_enum_progress! {
pub enum InnerSwappingTwoIndexes {
RetrieveTheTasks,