diff options
author | Yoonsoo Kim <yoonsoo.kim@mongodb.com> | 2021-06-28 07:00:07 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-06-30 23:41:39 +0000 |
commit | 0d37de1e3f89c6257f2cd66f9bf530cc80859717 (patch) | |
tree | 591d2c96007d9e7eb04a1ad06086ad804fadc477 /src/mongo/shell/session.js | |
parent | d635f733ad873fd469cf3e35e27452c45f1597c9 (diff) | |
download | mongo-0d37de1e3f89c6257f2cd66f9bf530cc80859717.tar.gz |
SERVER-58103 Remove test cases which test legacy op behaviors
Diffstat (limited to 'src/mongo/shell/session.js')
-rw-r--r-- | src/mongo/shell/session.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mongo/shell/session.js b/src/mongo/shell/session.js index 8fc0e98f617..44d82762dfb 100644 --- a/src/mongo/shell/session.js +++ b/src/mongo/shell/session.js @@ -257,11 +257,8 @@ var { if (serverSupports(kWireVersionSupportingLogicalSession) && // Always attach sessionId from explicit sessions. (driverSession._isExplicit || - // Check that implicit sessions are not disabled. The client must be using read - // commands because aggregations always use runCommand() to establish cursors but - // may use OP_GET_MORE (and therefore not have a session id attached) to retrieve - // subsequent batches. - (!jsTest.options().disableImplicitSessions && client.useReadCommands()))) { + // Check that implicit sessions are not disabled. + !jsTest.options().disableImplicitSessions)) { cmdObj = driverSession._serverSession.injectSessionId(cmdObj); } |