Commit Graph

42 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
Daniel Tabacaru 8a5d475448 SERVER-99927 Replace print*() with jsTest.log.*() in jstests/libs (#32243)
GitOrigin-RevId: d9eb298e1837085b0a4e6bfee676de54835c56d4
2025-04-09 21:02:58 +00:00
Brett Nawrocki a823402303 SERVER-81278 Add concurrency test for PM-3209
Adds a concurrency test for PM-3209 (Block balancing during updateMany).
Chunk migrations are disabled in the test until SERVER-85866.

GitOrigin-RevId: 1b101c2671d8cd9e1ec077d2e5e8f7115a96f9a5
2024-02-06 03:18:31 +00:00
Robert Sander 3c62f258d1 SERVER-76405 Reduce the initial minimum number of chunks to 1 per shard for empty collections with hashed shard key 2023-10-17 15:15:32 +00:00
Matt Broadstone a4f458fe4d SERVER-79735 Convert jstest corpus to use es modules 2023-08-06 20:48:04 +00:00
Jada Lilleboe 6d3674541b SERVER-71354: change migrateStepNames to moveChunkStepNames 2023-07-26 17:00:16 +00:00
toto 2d3db9cb63 SERVER-68551 Remove leftover code after distlocks deprecation 2023-07-19 07:48:36 +00:00
Matt Broadstone 43b8732430 SERVER-74787 Prepare jstest corpus for implicit strict mode 2023-05-07 16:55:23 +00:00
Cheahuychou Mao 2fde2cb6c2 SERVER-64292 Make runCommandDuringTransferMods take in findCriteria 2022-03-07 22:00:55 +00:00
Kaloian Manassiev 7879dd15de SERVER-61759 Interrupt and join migrations when allowMigrations is set to false 2021-12-07 12:47:28 +00:00
Paolo Polato 6ea1a17fd8 SERVER-52906 Delete orphaned document in the recipient before starting the migration. 2021-06-25 10:57:32 +00:00
Paolo Polato ba9ccb3c9e SERVER-52906 adapt assert condition to new migrateSteps order 2021-06-11 13:37:33 +00:00
Paolo Polato e40a2e9097 SERVER-52906 Applying metadata update before dispatching rollback task in moveChunk 2021-06-11 09:20:01 +00:00
Alex Taskov 4a2fbeebf4 SERVER-51355 Complete TODO listed in SERVER-45993 2020-10-14 19:30:58 +00:00
Jason Chan 1c28b3cf02 SERVER-49064 Update references of "last-stable" to use "last-continuous" and "last-lts" 2020-07-23 12:26:49 +00:00
Matthew Saltz 32770d4dcb SERVER-45338 Make moveChunk robust to maxTimeMS expiring (fix auth after revert) 2020-02-10 19:18:37 +00:00
Matthew Saltz bb5f249a0d Revert "SERVER-45338 Make moveChunk robust to maxTimeMS expiring"
This reverts commit 2985a71bef.

 delete mode 100644 jstests/sharding/move_chunk_respects_maxtimems.js
2020-02-05 23:18:39 +00:00
Matthew Saltz 2985a71bef SERVER-45338 Make moveChunk robust to maxTimeMS expiring
create mode 100644 jstests/sharding/move_chunk_respects_maxtimems.js
2020-02-05 20:35:37 +00:00
Cheahuychou Mao 707772dbe7 SERVER-45249 Make recipient wait for orphan cleanup before cloning indexes 2020-01-20 01:58:47 +00:00
Cheahuychou Mao eba76c558b SERVER-44719 Make createIndexes, dropIndexes, and collMod check shard versions 2019-12-06 16:30:41 +00:00
Cheahuychou Mao aefce50738 SERVER-44411 Test that insert/update/delete/findAndModify for hashed sharded collections targets the right shards 2019-11-07 22:07:41 +00:00
Janna Golden c150b588cb SERVER-42273 Introduce 'force' option to 'moveChunk' to allow migrating jumbo chunks 2019-11-05 15:52:39 +00:00
jannaerin 2fb73bcd25 SERVER-42783 Migrations should wait for majority replication of cloned docs when there are no xfer mods 2019-08-22 10:56:45 -04:00
Robert Guo 27d3642878 SERVER-35152 update tests for 4.0 2018-05-22 15:15:53 -04:00
jannaerin da1e0304e8 SERVER-32052 Update ShardingTest to default to starting shard servers as replica sets 2018-03-09 00:40:40 -05:00
Mark Benvenuto 254a60a637 SERVER-26109 Propagate MongoS information in client_metadata documents 2017-10-12 14:45:26 -04:00
Dianna Hohensee 8e8b048ebf SERVER-30621 Ensure chunk metadata exists when cleanUpRange is called in moveChunk 2017-09-22 19:01:46 -04:00
Randolph Tan 0b5217dfdd SERVER-29362 chunk_manipulation_util.js should support v3.4 currrentOp format 2017-05-25 16:25:32 -04:00
Tess Avitabile f56ae94527 SERVER-28575 Profile entry for update/delete should contain entire raw update/delete 2017-05-23 17:37:13 -04:00
Randolph Tan 9f81fd5fa2 SERVER-26607 waitForMoveChunkStep test helper should take in to account moveChunk in 'join' mode 2016-10-17 16:02:33 -04:00
Kaloian Manassiev 30b79f47f0 SERVER-26471 Always incrementally refresh metadata after committing chunk migration
Also introduces a failpoint and js test to exercise the race condition.
2016-10-07 19:32:48 -04:00
Dianna Hohensee af928e87f8 SERVER-25153 Converting sharding_last_stable_mongos test suite to include mixed version shards. 2016-07-22 09:40:40 -04:00
Kaloian Manassiev 9fd6bc9fb1 SERVER-24467 Move active migrations tracking to separate class 2016-06-13 15:19:44 -04:00
Mark Benvenuto 6dcdd23dd3 SERVER-23971 Clang-Format code 2016-05-28 17:55:12 -04:00
Mike Grundy 1be713cebb SERVER-23067 Final round of JS linting and formatting 2016-03-18 17:10:31 -04:00
Jonathan Abrahams 4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Misha Tyulenev a12dbc9271 SERVER-22993 make cleanup_orphaned_cmd tests more stable 2016-03-07 19:10:06 -05:00
Dianna Hohensee 3663e004df SERVER-21382 fixing sharding migration to transfer only document deletions relevant to the chunk being migrated, not every deletion 2015-12-22 09:12:08 -05:00
Dan Pasette a3d8fbcadf Revert "SERVER-21366 Periodically yield when applying migration deletions"
This reverts commit 7f3d0f2cfa.
2015-12-18 17:50:01 -05:00
Kaloian Manassiev 7f3d0f2cfa SERVER-21366 Periodically yield when applying migration deletions 2015-12-08 13:05:00 -05:00
Misha Tyulenev 6e545bce06 SERVER-21158 pull cleanupOrphaned tests from QA-326 2015-11-30 19:44:23 -05:00