Commit Graph

26 Commits

Author SHA1 Message Date
Zac 591928c619 SERVER-108478 JS formatted by prettier and remove clang-format (#39656)
GitOrigin-RevId: 6c8f6aded47f260aa4f7c231b17dae3302cb1e04
2025-08-21 17:27:09 +00:00
Matt Broadstone 771dabd098 SERVER-81339 Convert ReplSetTest and ShardingTest to modules (#26332)
GitOrigin-RevId: 744aa110a53786b23c62ff53f87a1418b5991e8d
2024-08-20 22:00:49 +00:00
Kishore Devireddy d4fca5696e SERVER-84801: Remove replication.eMRC from options (#22851)
GitOrigin-RevId: e8ddf575dbc4d44ccd92f341c2d1ffe7ad53ad7b
2024-06-03 22:46:18 +00:00
egol 204fa95d78 SERVER-81190 Support tracking "simple" unsharded collections in the CSRS
Co-authored-by: Tommaso Tocci <tommaso.tocci@mongodb.com>
Co-authored-by: Enrico Golfieri <enrico.golfieri@mongodb.com>
GitOrigin-RevId: 79bb40cf6d6828cbcae37dc339c6dd9496852d30
2024-02-05 17:14:35 +00:00
auto-revert-processor e449db9dde Revert "SERVER-81190 Support tracking "simple" unsharded collections in the sharding catalog"
This reverts commit 918d81f3e5f17c8062d4c807c359d45aff1310f8.

GitOrigin-RevId: 202ed84a048f8e6c126aeb8a1b22885491e77835
2024-02-03 00:34:43 +00:00
Tommaso Tocci a3181abd8a SERVER-81190 Support tracking "simple" unsharded collections in the sharding catalog
Co-authored-by: Enrico Golfieri <enrico.golfieri@mongodb.com>
Co-authored-by: Tommaso Tocci <tommaso.tocci@mongodb.com>
GitOrigin-RevId: 918d81f3e5f17c8062d4c807c359d45aff1310f8
2024-02-02 12:15:25 +00:00
Matt Broadstone a4f458fe4d SERVER-79735 Convert jstest corpus to use es modules 2023-08-06 20:48:04 +00:00
Mihai Andrei 08c0ec18e8 SERVER-47081 Delete geoSearch command and related tests 2020-11-03 13:30:56 +00:00
Gregory Wlodarek 09ec1c660b SERVER-50280 Remove 'startSetIfSupportsReadMajority' test helper function in favour of the 'requires_majority_read_concern' tag 2020-08-12 23:21:21 +00:00
Daniel Gottlieb 1e6511738d SERVER-21861: Prohibit Timestamp.prototype.toString via resmoke injection. 2020-08-05 01:43:59 +00:00
clang-format-7.0.1 134a408395
SERVER-41772 Apply clang-format 7.0.1 to the codebase 2019-07-27 11:02:23 -04:00
Misha Tyulenev 0bbed4c98c SERVER-39213 remove mongosWaitsForKeys from shardingtest 2019-04-10 15:56:25 -04:00
Sean Tao acdbc57731 SERVER-33998 Remove the parallelCollectionScan command 2018-07-12 17:54:34 -04:00
Jack Mulrow 3371898fdf SERVER-35913 causal_consistency_shell_support.js shouldn't assert on command return values 2018-07-02 10:41:10 -04:00
Kyle Suarez 7bc7864fc0 SERVER-35043, SERVER-22949: move geoNear implementation into aggregation
This commit removes the geoNear command and moves its implementation
into the aggregation framework. Users should use the aggregate command
with a $geoNear stage.

The implementation rewrite additionally removes the limit in the
$geoNear aggregation stage. To limit the number of results, use a $limit
stage.
2018-06-18 23:34:49 -04:00
Kevin Albertson 7f5f161abc SERVER-25640 terminate processes in jstests 2018-02-20 09:25:17 -05:00
Kevin Albertson c556e37709 SERVER-25640 terminate running processes in jstests 2018-02-08 09:46:57 -05:00
Jack Mulrow 1b3d16dc0e SERVER-30671 Don't expect operationTime to not change in causal_consistency_shell_support.js 2017-12-01 13:01:00 -05:00
Max Hirschhorn 6d8e6b9cce SERVER-31296 Update sessions, causal, and retryable in the mongo shell.
* Removes the initialClusterTime and initialOperationTime session
    options.

  * Enables causal consistency by default when using an explicit
    session.

  * Adds a --retryWrites command line option to the mongo shell for
    enabling retryable writes in the mongo shell. The retryWrites
    options to SessionOptions is left for convenience with testing.

  * Renames setClusterTime() to advanceClusterTime(), and adds a
    corresponding advanceOperationTime() method to DriverSession.

  * Enables assigning transaction numbers for write commands where
    ordered=false.

  * Prevents the mongo shell from sending afterClusterTime or assigning
    transaction numbers when talking to a stand-alone mongod.

  * Prevents the mongo shell from assigning transaction numbers when
    using an unacknowledged (w=0) writeConcern.

  * Changes DBClientRS to re-discover the current primary of the replica
    set when it receives an error code representing "not master" in
    addition to an error message representing "not master".

  * Adds a shellPrint() pretty-printer for SessionOptions and
    DriverSession instances so they no longer print out their entire
    object definition.
2017-11-08 19:29:28 -05:00
Max Hirschhorn 0195f34a7a SERVER-30679 Integrate causallyConsistentReads into SessionOptions. 2017-09-20 14:15:00 -04:00
Misha Tyulenev eacef2db99 SERVER-29987 pass afterClusterTime to all commands 2017-08-15 11:33:07 -04:00
Misha Tyulenev 42a1339774 SERVER-30038 rename $logicalTime to $clusterTime 2017-07-11 12:47:24 -04:00
Mathias Stearn e3fe73454a SERVER-29319 Delete DBClient::runCommandWithMetadata{,AndTarget} 2017-06-28 11:57:04 -04:00
Jack Mulrow 0d79ab8b66 SERVER-29652 mongos should not gossip logical time until admin.system.keys is created 2017-06-22 10:09:12 -04:00
Jack Mulrow 98b894b026 SERVER-29111 remove assertion in causal_consistency_shell_support.js 2017-05-08 14:01:39 -04:00
Jack Mulrow aa10fc4872 SERVER-28892 Test causal consistency in the shell 2017-05-04 17:55:35 -04:00