]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: rgwgc:process coredump in some special case。 Gc processes obja, objb, objc in... 25611/head
authorsdnets <sdnets2018@gmail.com>
Wed, 13 Jun 2018 01:32:16 +0000 (09:32 +0800)
committerPrashant D <pdhange@redhat.com>
Tue, 18 Dec 2018 11:41:45 +0000 (06:41 -0500)
Fixes:http://tracker.ceph.com/issues/23199

Signed-off-by: zhaokun <develop@hikdata.com>
(cherry picked from commit 575a7900660c7ec02250aa58cd88b2e02962e135)

Conflicts:
src/rgw/rgw_gc.cc : Resolved in process

src/rgw/rgw_gc.cc

index bf64925abda588a90918314202fce9bbd72dcf91..1abd8d798da7ad09c292cf1b1cd0f48dd72457f6 100644 (file)
@@ -189,6 +189,7 @@ int RGWGC::process(int index, int max_secs)
           ctx = new IoCtx;
          ret = rgw_init_ioctx(store->get_rados_handle(), obj.pool, *ctx);
          if (ret < 0) {
+           last_pool = "";
            dout(0) << "ERROR: failed to create ioctx pool=" << obj.pool << dendl;
            continue;
          }