Commit Graph

44 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
Xuerui Fa
8455a4ea2c SERVER-100420: Make test robust to read yields (#31975)
GitOrigin-RevId: dd6e2102acbe648e9dd720ee5c69b9854079fbf2
2025-04-09 21:53:35 +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
Matt Broadstone
a4f458fe4d SERVER-79735 Convert jstest corpus to use es modules 2023-08-06 20:48:04 +00:00
Matt Broadstone
1e98a0f23d SERVER-78551 Migrate analyze_plan library to module 2023-07-05 21:23:02 +00:00
Gregory Wlodarek
36da7a0426 SERVER-67289 Remove feature flag for PM-2218 2023-04-21 15:59:17 +00:00
Gregory Wlodarek
e245aa5161 SERVER-73276 Mark read_committed_with_catalog_changes.js with requires_fcv_70 2023-03-03 05:45:10 +00:00
Gregory Wlodarek
d918d22c0a SERVER-72960 Fix read_committed_with_catalog_changes.js to work with point-in-time catalog lookups 2023-03-01 22:57:27 +00:00
Matthew Saltz
b20c9e6ff9 SERVER-68271 Integrate point-in-time catalog lookups into the lock-free read path
This ticket ended up consisting of several different pieces of work:
* Implement AutoGetCollectionForReadLockFreePITCatalog, which will be used for
  the implementation of AutoGetCollectionForReadLockFree when the
  PointInTimeCatalogLookups feature flag is enabled
* Disable and update tests to take into account the new behavior when the feature
  flag is enabled
* Fix a bug in CollectionImpl::initFromExisting where we were looking up the
  shared index ident for an index by index name rather than by index ident,
  which would lead to returning the wrong ident
* Disable old code in the IndexCatalog that would filter out index entries when
  the read timestamp was less than the minVisibleSnapshot for those entries
2023-01-26 18:55:31 +00:00
Jon Streets
05a0f8e98b SERVER-56366 Update FCV constants to recognize 5.1 as latest 2021-07-23 15:49:23 +00:00
Moustafa Maher
0d97b04197 SERVER-55703 Update getDefaultRWConcern 2021-04-29 23:07:54 +00:00
Ali Mir
7d0b17d451 SERVER-50668 Refactor JS tests that enable rsSyncApplyStop 2020-10-07 23:53:04 +00:00
Louis Williams
669e565015 SERVER-47866 Secondary readers do not need to reacquire PBWM lock if there are catalog conflicts 2020-09-23 16:49:17 +00:00
Ali Mir
0c2f4ad0b1 SERVER-49993 Update _slaves to _secondaries in replsettest.js 2020-09-04 14:15:35 +00:00
Benety Goh
fbafa599da SERVER-50602 replica set and no passthrough tests provide commit quorum to createIndexes command instead of overriding server default 2020-08-28 16:28:26 +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
Ali Mir
98427b7a22 SERVER-46592 Remove all usages of the requires_fcv_44 tag from jstests 2020-04-29 17:32:39 +00:00
Samy Lanka
f7e7e994cb SERVER-44343 Make 'reIndex' a standalone-only command 2020-04-16 00:32:40 +00:00
Samy Lanka
72cf1283ee Revert "SERVER-44343 Make 'reIndex' a standalone-only command"
This reverts commit 2ad1252130.
2020-04-13 04:09:36 +00:00
Samy Lanka
2ad1252130 SERVER-44343 Make 'reIndex' a standalone-only command 2020-04-09 18:23:42 +00:00
Suganthi Mani
340c085a7f SERVER-46677 Ban rollback_index_build* tests from replica_sets_multiversion test suites as they use FCV 4.4 server startup parameter " enableIndexBuildCommitQuorum" 2020-03-08 05:03:05 +00:00
Suganthi Mani
5e607a45d3 SERVER-45001 Ban the replsets jstests that uses 'enableIndexBuildCommitQuorum' server parameter from multiversion suite. 2020-03-04 00:37:15 +00:00
Suganthi Mani
cde28e2ab9 SERVER-45001 Enable commit quorum for two phase index builds by default. 2020-03-03 23:55:58 +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
Mathew Robinson
ef9f9b461e SERVER-41177 Remove Javascript ScopedThread class 2019-08-12 17:28:18 -04: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
Gregory Wlodarek
cfd65015b3 SERVER-40712 Ensure the dropDatabase() command accepts a write concern. 2019-05-13 22:53:52 -04:00
William Schultz
1e51304268 SERVER-36664 Use awaitReplication instead of getLastError in read_committed_with_catalog_changes.js 2018-08-14 17:28:58 -04:00
Louis Williams
f899002aad SERVER-36208 Remove repairDatabase server command and shell helper 2018-08-13 13:10:34 -04:00
James Wahlin
35528523c0 SERVER-35031 Return MaxTimeMSExpired for maxTimeMS timeout
Adds a new 'MaxTimeMSExpired' error code, returned when a timeout occurs
due to exceeding of maxTimeMS. Timeouts unrelated to maxTimeMS will
continue to return 'ExceededTimeLimit'.
2018-07-24 13:09:41 -04:00
Tess Avitabile
80ae7e58d3 SERVER-34526 Jstests should not depend on ReplSetTest.liveNodes 2018-05-01 09:43:36 -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
Jason Carey
f23002e965 SERVER-30848 make shell getMores use sessions
The shell should attach the logical session used to initiate cursors
(via find or aggregate) and use it for successive getMores.
2017-10-03 16:50:12 -04:00
kvwalker
cc41e10c5f SERVER-30923 Increase wtimeouts to ReplSetTest.kDefaultTimeoutMS in all replication jstests 2017-09-18 14:21:49 -04:00
Benety Goh
58518c5174 SERVER-29876 read_committed_with_catalog_changes.js drops collection during the preparation phase instead of during the performOp phase so that dropDatabase does not block 2017-06-28 12:40:50 -04:00
Benety Goh
358cf1d12d SERVER-29277 fixed dropDatabase test cases in read_committed_with_catalog_changes.js to work with a replica set with less than a majority of nodes 2017-06-21 21:07:44 -04:00
Matthew Russotto
c121509fa4 SERVER-28277 Need to increase timeout in read_committed_with_catalog_changes.js
The slowest builds (ASAN + DEBUG) sometimes fail with current timeout.
2017-04-14 17:03:15 -04:00
William Schultz
58921178cd SERVER-27117 Set writeConcernMajorityJournalDefault to false for non journal variants 2016-12-01 12:53:47 -05:00
Mark Benvenuto
6dcdd23dd3 SERVER-23971 Clang-Format code 2016-05-28 17:55:12 -04:00
Judah Schvimer
67f96b8337 SERVER-24143 Increased maxTimeMS timeout in read_committed_with_catalog_changes.js 2016-05-17 12:09:44 -04:00
Mathias Stearn
1ccff91829 SERVER-23127 Add additional tests of majority readConcern following catalog changes 2016-04-12 20:11:50 -04:00