]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: drain requests before exiting
authorYehuda Sadeh <yehuda@inktank.com>
Tue, 13 Aug 2013 20:16:07 +0000 (13:16 -0700)
committerSage Weil <sage@inktank.com>
Sun, 18 Aug 2013 18:45:44 +0000 (11:45 -0700)
Fixes: #5953
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 3cbf6a7b031c2ce8072733c5c0b7ceb53fdcb090)

src/rgw/rgw_main.cc

index 5270f21be22f0a6725bfb77ee2603f640edf8e96..12301ba9c5fc6b3751416bc3be758e1b5de53e90 100644 (file)
@@ -257,6 +257,7 @@ void RGWProcess::run()
     req_wq.queue(req);
   }
 
+  m_tp.drain();
   m_tp.stop();
 }