Commit Graph

24 Commits

Author SHA1 Message Date
Steve McClure 1ffbc6c2e9 SERVER-109432: Autofix JS var usage to favor let (#40637)
GitOrigin-RevId: 9674b7db36a0f3f650d39c1e3fb2ad6ff2141cfb
2025-08-28 19:21:01 +00:00
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
Matt Broadstone a4f458fe4d SERVER-79735 Convert jstest corpus to use es modules 2023-08-06 20:48:04 +00:00
Romans Kasperovics 5324ef1fab SERVER-70042 Assign expected / actual semantics to assert.docEq() arguments 2022-12-20 11:59:17 +00:00
Rishab Joshi 4329ffafa3 SERVER-50442 Remove ensureIndex shell function
This commit replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell""
2020-11-17 14:23:10 +00:00
Arun Banala 7c196029e8 Revert "SERVER-50442 Remove ensureIndex shell function This commit also replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell"
This reverts commit e69c967ff8.
2020-11-12 18:15:38 +00:00
Rishab Joshi e69c967ff8 SERVER-50442 Remove ensureIndex shell function This commit also replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell 2020-11-12 10:38:50 +00:00
Ali Mir 98427b7a22 SERVER-46592 Remove all usages of the requires_fcv_44 tag from jstests 2020-04-29 17:32:39 +00:00
Jason Chan a65d5c03fb SERVER-43306 Remove dryRun command-line option from multiversion tests 2019-11-14 16:49:49 +00:00
Blake Oler d32355dab4 SERVER-44493 Add transaction tags to array_shard_key.js 2019-11-11 16:55:50 +00:00
Blake Oler f884772e3e SERVER-44175 Reject shard key array descendants 2019-11-04 23:51:35 +00:00
James Wahlin 39c3a5d77b SERVER-42773 Replace uses of the assert.writeOK() Javascript assertion with assert.commandWorked() 2019-08-14 13:52: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
Kaloian Manassiev d8b0d028e3 SERVER-27681 Remove duplicated ShardKeyPattern functionality from CollectionMetadata 2017-03-22 16:29:12 -04:00
Jonathan Abrahams 4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Mike Grundy fb46f01127 SERVER-22341 fix jslint errors in jstests/sharding with eslint --fix 2016-02-09 14:46:30 -05:00
Randolph Tan 7acafe85d9 SERVER-13425 migrate sharding jstest suite to use write commands api 2014-04-21 16:53:25 -04:00
Siyuan Zhou 122aaea710 SERVER-13534 Remove data in test array_shard_key.js 2014-04-14 12:27:45 -04:00
Randolph Tan a210230220 SERVER-9620 Index can be made multikey if a prefix of it is a shard key
Fix test to replace empty remove
2014-02-12 18:33:43 -05:00
Randolph Tan 5e0365665f SERVER-9620 Index can be made multikey if a prefix of it is a shard key
Allowed sharded collections to have multikey indexes based on the
invariant that shard key values can never be arrays.
2014-02-12 15:21:45 -05:00
Greg Studer 58b3bbcc1c SERVER-11720 minimal patch - Immutable update checks should be done for replacements 2013-11-15 17:12:16 -05:00
Kevin Matulef 22de9cb08d SERVER-6490 fix bug with _id array vals.
When sharding on _id, we were not properly invalidating docs that had
an array value for the shard key. Instead we were trying to add an _id
field, even though the doc already had one.
2012-11-26 13:14:09 -05:00
gregs 6bf06f445e don't allow multikey shard indices or array values in shard keys 2011-08-04 12:54:16 -04:00