update the task details again

This commit is contained in:
Tamo
2025-08-11 19:33:15 +02:00
parent 81020c7d6d
commit 2bab375001
98 changed files with 269 additions and 213 deletions

View File

@@ -283,7 +283,9 @@ impl IndexScheduler {
task.status = Status::Succeeded;
task.details = Some(Details::IndexInfo {
primary_key: primary_key.clone(),
uid: new_index_uid.clone(),
new_index_uid: new_index_uid.clone(),
// we only display the old index uid if a rename happened => there is a new_index_uid
old_index_uid: new_index_uid.map(|_| index_uid.clone()),
});
// if the update processed successfully, we're going to store the new