Fix rm-data hanging when some OSDs are inactive, add a test for it

There's also another case which also needs to be fixed - we shouldn't retry
deletions for indefinite time if an OSD is stopped during deletion
This commit is contained in:
Vitaliy Filippov
2024-12-27 16:29:33 +03:00
parent 0b0c2afbce
commit 5c890e4a12
6 changed files with 129 additions and 41 deletions
+1
View File
@@ -230,6 +230,7 @@ resume_100:
{
result.data = my_result(result.data);
state = 100;
return false;
}
else if (parent->progress)
printf("%s\n", result.text.c_str());