We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 88f3811 + 7ee9ad0 commit ab486eaCopy full SHA for ab486ea
src/rgw/rgw_asio_frontend.cc
@@ -1194,8 +1194,11 @@ void AsioFrontend::pause()
1194
l.signal.emit(boost::asio::cancellation_type::terminal);
1195
}
1196
1197
- // close all connections so outstanding requests fail quickly
1198
- connections.close(ec);
+ const bool graceful_stop{ g_ceph_context->_conf->rgw_graceful_stop };
+ if (!graceful_stop) {
1199
+ // close all connections so outstanding requests fail quickly
1200
+ connections.close(ec);
1201
+ }
1202
1203
// pause and wait until outstanding requests complete
1204
pause_mutex.lock(ec);
0 commit comments