summaryrefslogtreecommitdiff
path: root/src/mongo/shell/shell_options.h
diff options
context:
space:
mode:
authorKevin Pulo <kevin.pulo@mongodb.com>2018-08-09 04:00:41 +0000
committerKevin Pulo <kevin.pulo@mongodb.com>2018-09-03 06:18:37 +0000
commit23794c14b03bb272daad7a2b25eca0b80c03a31c (patch)
tree2c60ec7adb337f99cefe1af28d8b7f4eee3c9239 /src/mongo/shell/shell_options.h
parent2704d7a89e64167fcff7356ada111b313146474e (diff)
downloadmongo-23794c14b03bb272daad7a2b25eca0b80c03a31c.tar.gz
SERVER-33606 fail to create logical session in shell connected to old servers
Also add --disableImplicitSessions shell cmdline arg.
Diffstat (limited to 'src/mongo/shell/shell_options.h')
-rw-r--r--src/mongo/shell/shell_options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/shell/shell_options.h b/src/mongo/shell/shell_options.h
index 28766921807..c0a66fb35e2 100644
--- a/src/mongo/shell/shell_options.h
+++ b/src/mongo/shell/shell_options.h
@@ -73,6 +73,7 @@ struct ShellGlobalParams {
std::string writeMode = "commands";
std::string readMode = "compatibility";
bool shouldRetryWrites = false;
+ bool shouldUseImplicitSessions = true;
boost::optional<rpc::ProtocolSet> rpcProtocols = boost::none;