]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: mark asio frontend as experimental
authorMatt Benjamin <mbenjamin@redhat.com>
Wed, 13 Jul 2016 21:36:39 +0000 (17:36 -0400)
committerRadoslaw Zarzynski <rzarzynski@mirantis.com>
Fri, 21 Oct 2016 20:57:17 +0000 (22:57 +0200)
Users will need to set "rgw-asio-frontend" as an experimental
feature.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_main.cc

index 67724fddc529567d238d3b2b26b08038951914cf..37ef78d9d2a5acdb78ff251a34fb13c5d20d6fcf 100644 (file)
@@ -431,7 +431,8 @@ int main(int argc, const char **argv)
     RGWFrontendConfig *config = fiter->second;
     string framework = config->get_framework();
     RGWFrontend *fe;
-    if (framework == "asio") {
+    if ((framework == "asio") &&
+       cct->check_experimental_feature_enabled("rgw-asio-frontend")) {
       int port;
       config->get_val("port", 80, &port);
       RGWProcessEnv env{ store, &rest, olog, port };