diff options
author | Sara Golemon <sara.golemon@mongodb.com> | 2019-01-07 18:09:07 +0000 |
---|---|---|
committer | Sara Golemon <sara.golemon@mongodb.com> | 2019-01-09 04:26:08 +0000 |
commit | ec104311f774165b5b77b41b78c89e4f29baaca9 (patch) | |
tree | 7a0bba7081b6d210a29c1fd506e9bdefa37529e3 /src/mongo/tools | |
parent | 1fd9bfa5867c3e7d6c1eebda53d5ccd8c637459e (diff) | |
download | mongo-ec104311f774165b5b77b41b78c89e4f29baaca9.tar.gz |
SERVER-38551 Convert message compressor options to IDL
Diffstat (limited to 'src/mongo/tools')
-rw-r--r-- | src/mongo/tools/SConscript | 1 | ||||
-rw-r--r-- | src/mongo/tools/mongobridge_options_init.cpp | 6 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/mongo/tools/SConscript b/src/mongo/tools/SConscript index a085df0f979..ec512743904 100644 --- a/src/mongo/tools/SConscript +++ b/src/mongo/tools/SConscript @@ -21,6 +21,7 @@ mongobridge = env.Program( '$BUILD_DIR/mongo/db/dbmessage', '$BUILD_DIR/mongo/rpc/rpc', '$BUILD_DIR/mongo/transport/message_compressor', + '$BUILD_DIR/mongo/transport/message_compressor_options_server', '$BUILD_DIR/mongo/transport/service_entry_point', '$BUILD_DIR/mongo/transport/service_executor', '$BUILD_DIR/mongo/transport/transport_layer', diff --git a/src/mongo/tools/mongobridge_options_init.cpp b/src/mongo/tools/mongobridge_options_init.cpp index 4bbc3ee1e1f..d2868c3ab2e 100644 --- a/src/mongo/tools/mongobridge_options_init.cpp +++ b/src/mongo/tools/mongobridge_options_init.cpp @@ -39,12 +39,6 @@ #include "mongo/util/quick_exit.h" namespace mongo { -MONGO_GENERAL_STARTUP_OPTIONS_REGISTER(MongoBridgeOptions)(InitializerContext* context) { - auto ret = addMessageCompressionOptions(&moe::startupOptions, false); - if (!ret.isOK()) - return ret; - return Status::OK(); -} MONGO_STARTUP_OPTIONS_VALIDATE(MongoBridgeOptions)(InitializerContext* context) { if (!handlePreValidationMongoBridgeOptions(moe::startupOptionsParsed)) { |