Commit Graph

56 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
Moustafa Maher 2fd5f78d5a SERVER-95421 make initiateWithHighElectionTimeout the default in ReplSetTest (#28174)
GitOrigin-RevId: df168ee363c3f0e86526270437d3688ac4bb326d
2024-10-22 02:53:25 +00:00
auto-revert-app[bot] ac66db99e1 Revert "SERVER-95421 make initiateWithHighElectionTimeout the default in ReplSetTest (#27947)" (#28132)
GitOrigin-RevId: de1b147732fb34b89450da992fe559b24d32f1e2
2024-10-16 09:01:25 +00:00
Moustafa Maher ba308e1391 SERVER-95421 make initiateWithHighElectionTimeout the default in ReplSetTest (#27947)
GitOrigin-RevId: f73cbfbbdc6a2c557bed145cdb429c3a8d8b3447
2024-10-15 13:24:11 +00:00
seanzimm 908797d3b5 SERVER-95622: Decrease heartbeatInterval for server_status_metrics.js (#27897)
GitOrigin-RevId: f0c2ce1b26f2372d740a3a11a9feb752c7134cae
2024-10-08 21:42:51 +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
Jiawei Yang d3ae1054b9 SERVER-89312 Fix jstests using wrong sec-read-after-majority-write (#21071)
GitOrigin-RevId: f8e57f52be4fbef6f1ba79f09aa882dc83667b0c
2024-04-12 16:43:08 +00:00
Jiawei Yang affb9ca8ac SERVER-85720 Add OplogWriterBuffer metrics (#20124)
GitOrigin-RevId: 6200e616489178a6fc31dc41e0d439f1f88c9f2f
2024-03-19 18:27:19 +00:00
Kishore Devireddy bc37655980 SERVER-87106: Update repl.buffer.* to repl.buffer.apply.* in serverStatus (#19736)
GitOrigin-RevId: 4ee868104486988545161ced8c5d005502843eb1
2024-03-15 06:13:13 +00:00
Jiawei Yang d76a983482 SERVER-86983 Add OplogWriter metrics (#19791)
GitOrigin-RevId: 6a306943299acc0e6ad67022b863896bf80399e9
2024-03-12 08:02:13 +00:00
Matthew Russotto 88f44f8f54 SERVER-85545 Turn on batching of vectored inserts when
featureFlagReplicateVectoredInsertsTransactionally is enabled.

             Fix the tests which depend on the oplog format.

             Fix non-retryable vectored insert oplog format by not including a
             prevWriteOpTime for it, and testing that.

GitOrigin-RevId: 14c01b6e3680436785ac1b57a67c6e67a035422f
2024-03-08 14:37:29 +00:00
Matt Broadstone a4f458fe4d SERVER-79735 Convert jstest corpus to use es modules 2023-08-06 20:48:04 +00:00
XueruiFa 205649df34 SERVER-74148: Wait for secondary to sync from primary in server_status_metrics.js 2023-02-23 02:48:31 +00:00
Moustafa Maher 0d97b04197 SERVER-55703 Update getDefaultRWConcern 2021-04-29 23:07:54 +00:00
Huayu Ouyang 75a84d831d SERVER-55697 Don't allow removing CWWC once it is set 2021-04-28 17:47:34 +00:00
XueruiFa 2cb22c8caa SERVER-51057: Test that getMore metrics are incremented in server_status_metrics.js 2020-09-28 19:09:42 +00:00
Gregory Wlodarek 3421f17236 SERVER-48312 Remove the 'requires_document_locking' jstest tag 2020-08-04 01:58:47 +00:00
William Schultz f836e3ce66 SERVER-47691 Add missing explicit JS dependencies for tests that use ReplSetTest 2020-05-08 23:05:39 +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
Lingzhi Deng f26fc48b09 SERVER-44710: Add metrics.repl.network.getmores.numEmptyBatches 2020-02-20 16:22:02 +00:00
Kevin Pulo 7eb6f03dd3 SERVER-45623 improve diagnosability of default writeConcern
- Include the writeConcern in writeConcernErrors
- Add serverStatus counters for default writeConcern timeouts and unsatisfiability
2020-02-20 04:50:44 +00:00
Lingzhi Deng 06a03bc6ec SERVER-45574: Use NewOplogFetcher in steady state replication and initial sync 2020-02-19 03:22:12 +00:00
Amirsaman Memaripour 6527449a3c SERVER-45920 Validate writeConcern.w 2020-02-03 23:15:40 +00:00
Lingzhi Deng 8f11685793 SERVER-45926: Tag server_status_metrics.js requires_document_locking 2020-02-03 20:35:47 +00:00
Amirsaman Memaripour bb57005306 Revert SERVER-45584 2020-01-29 15:24:42 +00:00
Amirsaman Memaripour 8a4dba3b0c SERVER-45584 Validate writeConcern.w 2020-01-28 21:03:01 +00:00
Lingzhi Deng a24723a081 SERVER-44711: Add metrics.repl.network.oplogGetMoresProcessed 2020-01-28 03:03:27 +00:00
A. Jesse Jiryu Davis b1e5a64aaa SERVER-45473 Ban incompatible tests from multiversion suite
retryable_write_error_labels.js is a sharding test, and it's incompatible with the replication multiversion suite because the latest mongos is incompatible with the last stable mongod.
Move it from replsets/ to sharding/. This solves a build failure today by removing the test from the replication multiversion suite, and will prevent future similar problems stemming from having a sharding test in replsets/.
2020-01-13 23:35:56 +00:00
Vesselina Ratcheva 7bb6711e9d SERVER-43867 Move check_log.js inside src/mongo/shell/ 2019-11-27 22:32:47 +00:00
A. Jesse Jiryu Davis 04e8cf864b SERVER-44675 Handle race in repl metrics test 2019-11-19 13:44:07 +00:00
Judah Schvimer 9b3801e457 SERVER-34722 Add new server status metrics about oplog application 2019-10-11 17:39:49 +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
Jason Chan 2263b578a7 SERVER-41588 Should not expect repl.apply.ops to be the same as repl.apply.batchSize when testing server status metrics 2019-06-13 11:45:21 -04:00
Suganthi Mani cc102992f6 SERVER-37910 Added a new serverStatus meteric "repl.apply.batchSize" to track oplog application batch size. 2018-12-06 17:24:47 -05:00
Geert Bosch c7a0fc5191 SERVER-35984 Remove remaining MMAPv1 testing 2018-07-06 15:34:49 -04:00
Eric Milkie 638b423cad Revert "SERVER-35984 Remove remaining MMAPv1 testing"
This reverts commit 3c8a05f39b.
2018-07-06 09:07:07 -04:00
Geert Bosch 3c8a05f39b SERVER-35984 Remove remaining MMAPv1 testing 2018-07-05 19:43:35 -04:00
Judah Schvimer 85bd708402 SERVER-23478 Move server status metrics from OplogReader and BackgroundSync to OplogFetcher 2016-08-17 14:24:43 -04:00
Mark Benvenuto 6dcdd23dd3 SERVER-23971 Clang-Format code 2016-05-28 17:55:12 -04:00
Scott Hernandez ec75e8622c SERVER-23478: disable checking readersCreated till hooked up again 2016-04-01 16:44:41 -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 f768da59c3 SERVER-22341 fix jslint errors in jstests/replsets with eslint --fix 2016-02-05 15:00:51 -05:00
matt dannenberg fdd0ce979f SERVER-21505 add extra wiggle room to server_status_metrics.js 2015-11-17 07:45:40 -05:00
Scott Hernandez 51133ea85e SERVER-21250: pushAll from network thread 2015-11-13 17:21:03 -05:00
Scott Hernandez ca4481c326 SERVER-18983: just check for timing field, not validation of value 2015-10-01 11:39:52 -04:00
matt dannenberg 197ea2a625 SERVER-18584 write an n-op when transition to primary is complete 2015-08-05 04:17:46 -04:00
matt dannenberg 8de98e1986 SERVER-14483 Unit test awaitReplication behavior across reconfig 2014-11-04 12:19:08 -05:00
Mathias Stearn 081f11c248 SERVER-14219 logOp implicit collection creation
This patch only logs the creation of collections that will not be deleted on
operation failure. This fixes a bug where the collection would be created on
master, but if the operation failed, the slaves would not get the logOp that
implicitly created the collection leading them to differ from the master.
2014-08-20 13:57:04 -04:00
Randolph Tan 92ed1aa3e0 SERVER-13399 Increase timeout in server_status_metrics.js 2014-03-28 15:02:28 -04:00