]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test_multi: realm checkpoint after init
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 3 May 2017 21:50:19 +0000 (14:50 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 30 May 2017 20:26:58 +0000 (13:26 -0700)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_sync.cc
src/test/rgw/rgw_multi/tests.py

index 9d8d250132b438d89184a2e0056b2e74f08d72fc..a9ef1ac784f694da94e684936863d26ea421ef45 100644 (file)
@@ -1508,10 +1508,12 @@ public:
         collect_children();
       } while ((int)entries.size() == max_entries && can_adjust_marker);
 
+ldout(cct, 0) << __FILE__ << ":" << __LINE__ << ":" << *this << ": num_spawned()=" << num_spawned() << dendl;
       while (num_spawned() > 1) {
         yield wait_for_child();
         collect_children();
       }
+ldout(cct, 0) << __FILE__ << ":" << __LINE__ << ":" << *this << ": num_spawned()=" << num_spawned() << dendl;
 
       if (!lost_lock) {
         /* update marker to reflect we're done with full sync */
index bcc3ff8f2b75763103ec2207f5c89359bcc97d1b..231e742c011b684350031e0ebb966ea796021daa 100644 (file)
@@ -44,6 +44,7 @@ def init_multi(_realm, _user, _config=None):
     user = _user
     global config
     config = _config or Config()
+    realm_meta_checkpoint(realm)
 
 def get_realm():
     return realm