From e0585d935393b36c24b93aca595e03885ab49d81 Mon Sep 17 00:00:00 2001 From: Benoit Meriaux Date: Thu, 2 Nov 2017 14:30:06 +0100 Subject: [PATCH] MB-26556: fix default index storage mode for community --- cbmgr.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cbmgr.py b/cbmgr.py index 2e673dbc..91daf982 100644 --- a/cbmgr.py +++ b/cbmgr.py @@ -556,11 +556,12 @@ def execute(self, opts): _exitIfErrors(errors) # Set the index storage mode + index_default = "plasma" if enterprise else "forestdb" if not opts.index_storage_mode and 'index' in services.split(','): opts.index_storage_mode = "default" if opts.index_storage_mode: - param = index_storage_mode_to_param(opts.index_storage_mode) + param = index_storage_mode_to_param(opts.index_storage_mode, index_default) _, errors = rest.set_index_settings(param, None, None, None, None, None) _exitIfErrors(errors)