more resilience to inconsistent alias states

This commit is contained in:
Alex Auvolat
2025-03-18 11:35:55 +01:00
parent be16bc7a05
commit 2ade8c86f6
3 changed files with 84 additions and 40 deletions
+1 -1
View File
@@ -382,7 +382,7 @@ pub async fn handle_delete_bucket(
for ((key_id, alias), _, active) in state.local_aliases.items().iter() {
if *active {
helper
.unset_local_bucket_alias(bucket.id, key_id, alias)
.purge_local_bucket_alias(bucket.id, key_id, alias)
.await?;
}
}