0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00
Commit Graph

72 Commits

Author SHA1 Message Date
Gabriel Russell
f79c017612 SERVER-42316 always join all threads in run_check_repl_dbhash_background.js 2019-07-23 15:52:26 -04:00
Lingzhi Deng
22b6c7a8df SERVER-40086: Extend CheckReplDBHashInBackground to Sharded Clusters 2019-05-01 22:28:30 -04:00
Gregory Wlodarek
ec5e2eb804 SERVER-40851 CheckReplDBHashInBackground should retry running 'appendOplogNote' when it fails to acquire the global lock 2019-04-29 09:15:30 -04:00
Gregory Wlodarek
5ae506cb8f SERVER-39321 Re-enable the CheckReplDBHashInBackground hook 2019-04-25 11:06:12 -04:00
Gregory Wlodarek
9e284db0f7 SERVER-40148 Load implicitly_retry_on_background_op_in_progress override in the checkReplicatedDataHashes thread 2019-04-05 21:52:02 -04:00
Randolph Tan
c5f474e072 SERVER-37972 Create suite for running multi shard jscore with sharded transactions with kill 2019-02-28 17:33:31 -05:00
Max Hirschhorn
9db1a8dffe SERVER-39169 Add $_internalReadAtClusterTime option to find and dbHash.
The new $_internalReadAtClusterTime option replaces all usages of
running the dbHash command inside of a multi-statement transaction. It
can be used to read from a consistent snapshot in place of specifying an
atClusterTime read concern.

Unlike multi-statement transactions, the new $_internalReadAtClusterTime
option doesn't cause locks to be left on the server after returning a
network response. It instead restores the snapshot to read from as part
of handling the request.
2019-02-11 15:43:27 -05:00
Tess Avitabile
b4ee2a119c SERVER-39212 waitForSecondaries in background dbhash check must wait for lastApplied to reach clusterTime when enableMajorityReadConcern=false 2019-01-29 13:12:04 -05:00
Judah Schvimer
36ed73e9c8 SERVER-39076 print in background dbhash when a hash mismatch occurs before doing more reads 2019-01-22 11:52:25 -05:00
Daniel Gottlieb
a9177f25ba SERVER-38928: Have run_check_repl_dbhash_background.js cope with secondaries reporting a greater optime than their primary. 2019-01-11 16:22:55 -05:00
Daniel Gottlieb
83a494cb0a SERVER-38869: Add logging to run_check_repl_dbhash_background.js when it errors out. 2019-01-08 15:40:00 -05:00
Randolph Tan
3d28a55677 SERVER-37853 Create sharded_core_txn with balancer suite
This reverts commit 907c8c786e.
2019-01-07 11:08:05 -05:00
William Schultz
907c8c786e Revert "SERVER-37853 Create sharded_core_txn with balancer suite"
This reverts commit 62076130c3.
2019-01-04 18:05:41 -05:00
Randolph Tan
62076130c3 SERVER-37853 Create sharded_core_txn with balancer suite 2019-01-04 16:17:30 -05:00
Max Hirschhorn
1b5d91ae96 SERVER-37143 Retry background dbHash check on Interrupted errors. 2018-12-27 14:37:48 -05:00
Max Hirschhorn
7b72db38ae SERVER-38182 Avoid calling abortTransaction() after txn committed. 2018-12-27 14:37:48 -05:00
Vesselina Ratcheva
0991709cf6 SERVER-37240 Enable dbhash background thread for enableMajorityReadConcern:false variant 2018-12-14 14:35:19 -05:00
Max Hirschhorn
492493e2fc SERVER-37074 Handle interrupted FCV downgrade in validate hook. 2018-11-30 17:40:49 -05:00
Pavi Vetriselvan
6ead45d2b8 SERVER-36728 Don't ignore errors when aborting a transaction in tests 2018-10-30 11:32:00 -04:00
Max Hirschhorn
78112be586 SERVER-37197 Fix validateCollectionsThread() to check validate result.
It would otherwise silently ignore cases where collection validation had
failed.
2018-09-18 21:10:36 -04:00
Jonathan Abrahams
fdf3ac3da5 SERVER-35160 ScopedThreads should automatically inherit TestData from their parent thread 2018-09-05 15:47:58 -04:00
jannaerin
c89b04dd7f SERVER-36845 Change sessionId check in check_repl_db_hash_background hook to use bsonWoCompare 2018-08-29 11:00:08 -04:00
Xiangyu Yao
bdb7951bc4 SERVER-36718 Add forceValidationWithFeatureCompatibilityVersion to collection validation hook 2018-08-27 18:44:05 -04:00
Jonathan Abrahams
c8f5485a7c SERVER-32642 Return raw command response in the validate JS hook 2018-08-24 09:28:36 -04:00
Jonathan Abrahams
b2cbb83011 SERVER-35559 Update transaction retry functions to not call abort after commit 2018-06-26 08:32:02 -04:00
Max Hirschhorn
25f72cf5f1 SERVER-34779 Add hook for checking dbhash while a test is running.
Enables the CheckReplDBHashInBackground hook in the
replica_sets_jscore_passthrough.yml test suite.

Also fixes the WTPreserveSnapshotHistoryIndefinitely failpoint to ignore
attempts from _decreaseTargetSnapshotWindowSize() to move the oldest
timestamp forward.
2018-05-25 22:07:24 -04:00
Robert Guo
c87d73cd44 SERVER-34155 add clean shutdown primary passthrough 2018-05-17 09:33:33 -04:00
Tess Avitabile
80ae7e58d3 SERVER-34526 Jstests should not depend on ReplSetTest.liveNodes 2018-05-01 09:43:36 -04:00
David Bradford
34333a94de SERVER-34306: include host in validate error messages 2018-04-26 14:54:54 -04:00
Max Hirschhorn
788a26e181 SERVER-34178 Wire up TestData.excludedDBsFromDBHash again.
Also removes the exclusion from all of the fuzzer test suites.
2018-03-29 11:44:07 -04:00
Vesselina Ratcheva
fdfce7f6c2 SERVER-32143 Remove test coverage for master-slave 2018-02-21 10:38:49 -05:00
Max Hirschhorn
64bed81733 SERVER-33068 Fix run_check_repl_dbhash.js hook to actually run dbhash.
Consolidates the logic in the run_check_repl_dbhash.js and
run_validate_collections.js for discovering all of the mongod processes
in a MongoDB deployment into a new discover_topology.js library.

Also adds a test that relies on mongod logging to verify that the
run_check_repl_dbhash.js and run_validate_collections.js hooks execute
on all of the expected servers.
2018-02-02 21:54:43 -05:00
Kevin Albertson
b9decc492c SERVER-21630 run CheckReplDBHash on csrs and shard replset
And run ValidateCollections hook on priority=0 secondaries.
2018-01-17 09:22:04 -05:00
Robert Guo
2e6b7c8ccc SERVER-31920 refactor validate_collections.js to accept a list of nodes in addition to a DB 2018-01-10 17:39:11 -05:00
Max Hirschhorn
12fe88d24a Revert "SERVER-21630 run CheckReplDBHash on csrs and shard replset"
This reverts commit 43b1a2984a.
2018-01-10 14:58:19 -05:00
Jonathan Abrahams
56ba266ca7 SERVER-32243 Add an option to have the validate hook skip some collections 2018-01-08 10:46:13 -05:00
Kevin Albertson
43b1a2984a SERVER-21630 run CheckReplDBHash on csrs and shard replset 2017-12-26 08:52:26 -05:00
Kevin Albertson
eac8109597 Revert "SERVER-21630 run CheckReplDBHash on csrs and shard replset"
This reverts commit 117ccba5b7.
2017-12-21 10:47:13 -05:00
Kevin Albertson
117ccba5b7 SERVER-21630 run CheckReplDBHash on csrs and shard replset 2017-12-21 09:58:04 -05:00
Jonathan Abrahams
6011073098 SERVER-31807 Add Powercycle task using writeConcern {w: "majority"} 2017-11-08 21:24:18 -05:00
Eddie Louie
b7b606259d SERVER-31441 Run validateCollections on each server in parallel 2017-11-06 21:21:50 -05:00
Max Hirschhorn
cdef5d9ad7 SERVER-31744 Only ignore UUIDs in dbhash check for master/slave. 2017-10-27 10:06:43 -04:00
Jonathan Abrahams
3b5c492f30 SERVER-30802 Add CRUD & FSM clients to powertest.py 2017-10-25 16:18:46 -04:00
Louis Williams
eb25a8afdb SERVER-30161 Remove enableUUIDs server parameter 2017-10-09 15:08:14 -04:00
Ian Boros
79da41f50a SERVER-24759 SERVER-31128 Validate collections on all nodes in cluster
When connecting to a secondary to perform validate(), we now call
slaveOk() on the connection.

This also adds support for us to call validate() on all members of
replica set shards.
2017-09-29 13:33:10 -04:00
Kaloian Manassiev
2688726891 Revert "SERVER-30325 Temporarily exclude dbhash check on "config" database."
This reverts commit 3128427f77.
2017-09-14 07:46:47 -04:00
Yves Duhem
2f6a2294fe SERVER-30683 Support failovers in ReplicaSetFixture 2017-09-01 17:41:35 -04:00
Max Hirschhorn
3128427f77 SERVER-30325 Temporarily exclude dbhash check on "config" database.
This should avoid additional Evergreen failures from the
jstestfuzz_replication_initsync and jstestfuzz_replication_initsync_WT
tasks.
2017-08-21 11:24:19 -04:00
Kaloian Manassiev
9245615c3b SERVER-30325 Temporarily exclude the 'config' database from the fuzzer DBHash checks 2017-08-12 09:01:31 -04:00
Tess Avitabile
67500efdc1 SERVER-29350 Bump featureCompatibilityVersion to 3.6 2017-06-09 15:05:04 -04:00