Actions
Bug #23804
openrgw multisite sync maybe hang
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
while ((int)num_spawned() > spawn_window) {
set_status() << "num_spawned() > spawn_window";
yield wait_for_child();
int ret;
while (collect(&ret, lease_stack)) {
if (ret < 0) {
ldout(sync_env->cct, 0) << "ERROR: a sync operation returned error" << dendl;
/* we have reported this error */
}
/* not waiting for child here */
}
}
here, wait_for_child maybe wait for lease_cr or error_repo, then it will always wait.
Updated by Xinying Song over 5 years ago
spawn_window == 20, so the `wait_for_child()` function will always return due to other child stack finished. Would you give some more details about this hang?
Actions