summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@inktank.com>2013-08-13 13:16:07 -0700
committerSage Weil <sage@inktank.com>2013-08-18 11:45:44 -0700
commit290bcd8a718887eb0e28aa2d97bceeee79068ea9 (patch)
tree5a132ba0109ba7f19d0617e437fb5f3377e141c9
parent863df08a43dff99797453040eb1ef6071b0432f9 (diff)
downloadceph-290bcd8a718887eb0e28aa2d97bceeee79068ea9.tar.gz
rgw: drain requests before exiting
Fixes: #5953 Signed-off-by: Yehuda Sadeh <yehuda@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com> (cherry picked from commit 3cbf6a7b031c2ce8072733c5c0b7ceb53fdcb090)
-rw-r--r--src/rgw/rgw_main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rgw/rgw_main.cc b/src/rgw/rgw_main.cc
index 5270f21be22..12301ba9c5f 100644
--- a/src/rgw/rgw_main.cc
+++ b/src/rgw/rgw_main.cc
@@ -257,6 +257,7 @@ void RGWProcess::run()
req_wq.queue(req);
}
+ m_tp.drain();
m_tp.stop();
}