diff --git a/src/server/pegasus_server_impl.cpp b/src/server/pegasus_server_impl.cpp index 2ff0636770..7f6d7fc6c5 100644 --- a/src/server/pegasus_server_impl.cpp +++ b/src/server/pegasus_server_impl.cpp @@ -2648,7 +2648,7 @@ void pegasus_server_impl::update_rocksdb_dynamic_options( } // doing set option - if (new_options.empty() && set_options(new_options)) { + if (!new_options.empty() && set_options(new_options)) { LOG_INFO("Set rocksdb dynamic options success"); } }