summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMisha Tyulenev <misha.tyulenev@10gen.com>2019-11-14 23:06:40 +0000
committerevergreen <evergreen@mongodb.com>2019-11-14 23:06:40 +0000
commit3604427fe09055afc5d681ac60ea2b13f2dd32c3 (patch)
tree5f8a51933cbd97cbe85186f9a00162f729af9c11
parent4fe19a9caa9a40dd183770099d716f71b29ae558 (diff)
downloadmongo-3604427fe09055afc5d681ac60ea2b13f2dd32c3.tar.gz
SERVER-43463 remove outdated TODO note
-rw-r--r--src/mongo/shell/session.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/shell/session.js b/src/mongo/shell/session.js
index 4be01d2895e..9681997c49d 100644
--- a/src/mongo/shell/session.js
+++ b/src/mongo/shell/session.js
@@ -284,11 +284,6 @@ var {
}
}
- // TODO SERVER-31868: A user should get back an error if they attempt to advance the
- // DriverSession's operationTime manually when talking to a stand-alone mongod. Removing
- // the `(client.isReplicaSetMember() || client.isMongos())` condition will also involve
- // calling resetOperationTime_forTesting() in JavaScript tests that start different
- // cluster types.
if (serverSupports(kWireVersionSupportingCausalConsistency) &&
(client.isReplicaSetMember() || client.isMongos()) &&
(driverSession.getOptions().isCausalConsistency() ||