Project

General

Profile

Actions

Bug #23804

open

rgw multisite sync maybe hang

Added by rui xie about 6 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
% 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.

Actions #1

Updated by Orit Wasserman almost 6 years ago

  • Assignee set to Casey Bodley
Actions #2

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

Also available in: Atom PDF