Commit Graph

28 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
ppolato 45223429bc SERVER-97818 Clean up remaining usages of the ShardingTest.shardOptions setup field (#30055)
GitOrigin-RevId: 98cff3f8b65917e5c0e9ae34d91f0023095e8cdc
2024-12-09 19:49:19 +00:00
auto-revert-app[bot] 3530cf8823 Revert "SERVER-97818 Clean up remaining usages of the ShardingTest.shardOptions setup field (#29806)" (#29971)
GitOrigin-RevId: 2feb2e6282fd1905d8d87a171665d11c4922482b
2024-12-06 02:21:54 +00:00
ppolato ae45472464 SERVER-97818 Clean up remaining usages of the ShardingTest.shardOptions setup field (#29806)
GitOrigin-RevId: da6a4864af2e8e18165421ecb3673f70bc8f4b6c
2024-12-05 15:42:38 +00:00
ppolato 1e76016aa7 SERVER-95482 Fix spurious js tests failures due slow in-transaction metadata refreshes (#27854)
GitOrigin-RevId: 4f1026a5cae9badd1c9c9ec7a74635f5ca8c8d2e
2024-10-09 17:22:09 +00:00
Daniel Gómez Ferro 4e7b1f9a94 SERVER-92530 Limit wait on refresh for multidoc txns (#26690)
GitOrigin-RevId: 7b27831658f46869799c9df43226d05501b04c74
2024-09-06 14:49:55 +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
Pol Piñol Castuera 0d425cabd7 SERVER-84623 Shard-local re-execution of a command might bubble up a misleading StaleConfig exception to the router (#21287)
GitOrigin-RevId: 85087e85706ae5355454bbb3b7b76baa7b852c21
2024-05-13 15:47:49 +00:00
Pierlauro Sciarelli ce28e79ede SERVER-81293 Get rid of `ensurePrimaryShard` helper 2023-09-28 09:24:01 +00:00
Matt Broadstone a4f458fe4d SERVER-79735 Convert jstest corpus to use es modules 2023-08-06 20:48:04 +00:00
Enrico Golfieri a363278ae8 SERVER-60415 No longer accept FailPointSetFailed errors on jstests that use migrationRecipientFailPostCommitRefresh failpoint 2022-07-05 08:50:49 +00:00
Marcos Jose Grillo Ramirez a32f6ee11e SERVER-61208 Prevent transactions_stale_shard_version_errors.js test from running in suites with the balancer enabled 2021-11-11 10:29:23 +00:00
Jordi Serra Torrens 9f0021aeb3 SERVER-58991 Acquire the critical section on the recipient shard of a moveChunk operation (happy-path) 2021-10-13 11:49:13 +00:00
Max Hirschhorn cea987cc0f SERVER-52782 Update test assertions for StaleConfig exceptions in 5.0+.
Also changes the test to assert the transaction commits successfully.
2021-08-06 15:13:07 +00:00
Marcos José Grillo Ramirez 5de55e1319 SERVER-57486 Disable periodic index checker on transactions_stale_shard_version_errors.js 2021-07-27 16:04:55 +00:00
Simon Graetzer 9d87e1f1a5 SERVER-54632 Increase number of CSRS nodes in jstests/sharding/query/json_schema.js 2021-05-13 15:07:00 +00:00
Jordi Serra Torrens f3617ccb88 SERVER-53105: Amend tests that target config.chunks by ns to target by ns or uuid depending on collection timestamp 2021-01-22 10:25:46 +00:00
Tommaso Tocci 3eabee6114 SERVER-28943 Make shards retry non-write commands on stale version exceptions 2020-11-11 18:15:09 +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
Lingzhi Deng 603d97f23f SERVER-40386: replace commitTransaction() used in jstests with commitTransaction_forTesting() 2019-06-04 11:06:39 -04:00
Jack Mulrow b0d3c0d293 SERVER-39624 Put internal router retries for stale version and snapshot errors behind a fail point 2019-02-26 10:36:10 -05:00
Jack Mulrow e241839a6a SERVER-39227 Mongos should always re-throw original error in a transaction 2019-02-25 11:52:48 -05:00
Jack Mulrow aff3f239ca SERVER-37764 Update multi-shard transaction jstests to use two-phase commit 2018-11-01 14:25:48 -04:00
Pavi Vetriselvan 6ead45d2b8 SERVER-36728 Don't ignore errors when aborting a transaction in tests 2018-10-30 11:32:00 -04:00
Jack Mulrow d2d7dbadcc SERVER-37210 Mongos should implicitly abort transactions on unhandled errors 2018-10-09 09:39:08 -04:00
Tess Avitabile aaa6473362 SERVER-37227 Reintroduce enableMajorityReadConcern:false server parameter 2018-10-02 10:58:05 -04:00
Jack Mulrow 3bab189695 SERVER-35707 Allow mongos to retry on re-targeting errors in a transaction 2018-09-19 13:20:05 -04:00