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

575 Commits

Author SHA1 Message Date
Gregory Wlodarek
95ded0aae6 SERVER-36957 Retry DDL operations when encountering BackgroundOperationInProgress 2019-02-21 20:59:07 -05:00
Divjot Arora
ffb9c28086 Raise timeout and lower interval in implicitly_retry_on_background_op_in_progress.
SERVER-39120
SERVER-39341
2019-02-19 12:18:01 -05:00
A. Jesse Jiryu Davis
d7fcc8ab5b SERVER-38583 JS test fixes for write errors in transactions 2019-02-12 17:40:26 -05:00
A. Jesse Jiryu Davis
db3baf2ee1 SERVER-38583 Fix transaction insert writeError format 2019-02-12 17:40:26 -05:00
Matthew Russotto
77dccdfdc5 SERVER-38516 Tighten up tests that don't fail when not closing connections during stepdown bbut allow exceptions during stepdown 2019-02-12 11:07:46 -05:00
Matthew Russotto
c3a72d61dc SERVER-38516 Remove “closeConnectionsOnStepdown” flag and fix tests broken by this 2019-02-12 11:07:46 -05:00
Ian Boros
c3f2bef808 SERVER-39269 flag gate sharded $lookup 2019-02-07 18:41:36 -05:00
Suganthi Mani
29685e3b88 SERVER-38515 Test that initial sync continues through a step down. 2019-02-06 11:15:43 -05:00
Bernard Gorman
065f3ef77d SERVER-37786 Reject change stream pipelines which modify or project-out the resume token 2019-02-03 15:06:46 +00:00
Andrew Morrow
a285618a35 SERVER-36651 SERVER-36652 SERVER-37600 Upgrade to V3 toolchain and XCode 10 everywhere 2019-01-30 21:10:29 -05:00
Gabriel Russell
d80755651c SERVER-29286 import and use mozjs-60 2019-01-30 19:06:17 +00:00
Gabriel Russell
254fff9327 Revert "SERVER-29286 import and use mozjs-60"
This reverts commit a3d232b697.
2019-01-29 23:16:33 +00:00
Gabriel Russell
a3d232b697 SERVER-29286 import and use mozjs-60 2019-01-29 23:06:10 +00:00
Gregory Wlodarek
163249fdf5 SERVER-38705 Remove jstests for retrying index builds on startup 2019-01-17 17:08:08 -05:00
Louis Williams
e12dcc7fdb SERVER-37270 Remove foreground index builds by default 2019-01-17 11:35:32 -05:00
Xiangyu Yao
7edc50cf21 SERVER-38958 Add heartbeating mechanism to sharded_backup_restore.js 2019-01-17 11:10:05 -05:00
Samy Lanka
dc252fd5e4 SERVER-33589 Create an initial sync test fixture 2019-01-09 20:24:30 -05:00
Jack Mulrow
b94945a1ee SERVER-38215 Retry on transient transaction errors inside txn_override.js 2019-01-07 16:58:19 -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
Jack Mulrow
4be5caeab1 SERVER-38733 Change majority read concern transaction passthroughs to use local read concern 2019-01-03 17:55:08 -05:00
Jonathan Reams
b7c5662bbb
SERVER-37835 Support rolling over X509 cluster auth certificates 2019-01-03 17:18:52 -05:00
Max Hirschhorn
62c7e599ba SERVER-36751 Skip retrying dropDatabase on DatabaseDropPending error. 2018-12-26 15:07:59 -05:00
Xiangyu Yao
844f5a77c5 SERVER-38255 Write efficient sharded backup tests 2018-12-21 15:59:41 -05:00
Jack Mulrow
ddaa9193bf SERVER-33983 Add jscore sharded transaction passthrough suite using majority read concern 2018-12-20 17:26:34 -05:00
Jack Mulrow
9d9ac978eb SERVER-38590 Use txn_override.js without causal consistency in suites that don't require it 2018-12-17 18:53:53 -05:00
Esha Maharishi
5d7bc8850e SERVER-38415 Remove erroneous variable from error message string 2018-12-11 22:06:25 -05:00
Randolph Tan
86fab3ee0e SERVER-37971 create suite for running jscore with sharded transactions 2018-12-05 15:39:38 -05:00
Esha Maharishi
5097d5ad8d SERVER-38415 checkLog.containsWithCount does not reset count before each loop of assert.soon 2018-12-05 13:35:35 -05:00
jannaerin
648de2147b SERVER-38347 txn_override.js needs to retry on NotMaster errors on implicit collection creation 2018-12-04 14:04:20 -05:00
jannaerin
2866e94e06 SERVER-38352 Bump txnNumber in log message on txn retry in txn_override.js 2018-12-03 15:40:20 -05:00
William Schultz
9ad645839a SERVER-38343 txn_override.js should print out lsid object in retryCommitTransaction 2018-12-02 11:29:05 -05:00
Max Hirschhorn
492493e2fc SERVER-37074 Handle interrupted FCV downgrade in validate hook. 2018-11-30 17:40:49 -05:00
Judah Schvimer
e7f345efe1 SERVER-38186 Do not append majority read concern to operations in suites that don't support it 2018-11-26 11:59:11 -05:00
jannaerin
dbafa9a288 SERVER-36311 Add stepdowns, crashes, and shutdowns to replica_sets_multi_stmt_txn_jscore_passthrough suite 2018-11-15 12:10:02 -05:00
William Schultz
dd2b355042 SERVER-37935 Remove read concern 'majority' overrides from all change streams test suites 2018-11-14 15:16:48 -05:00
Martin Neupauer
2f0271a86b SERVER-20445 quick follow up - enable more tests of $out with readConcern majority. 2018-11-14 14:39:24 -05:00
Natalie Tsvetkova
7b0362b91d SERVER-38054: failCommand fail point causes errors when run concurrently with other tests 2018-11-13 16:21:20 -05:00
David Storch
f0b39d9184 SERVER-37446 Change PlanStages which don't require a collection to avoid keeping a Collection*.
In order to prevent COUNT stage from requiring a Collection*, splits
fast count into a new RECORD_STORE_FAST_COUNT stage.
2018-11-07 15:05:49 -05:00
Jonathan Reams
8c2c95edbd
SERVER-37833 Retry internal auth with alternate key during keyfile rollover 2018-11-07 10:20:26 -05:00
Patrick Freed
cb794ccb3a SERVER-36619 Fix typo in SSL readme 2018-11-05 18:51:08 -05:00
Charlie Swanson
7dbcd71007 SERVER-36966 Validate ns in cluster mapReduce
Also ensures that the temp collections are always up to date, and
extends the passthrough coverage of the mapReduce command outputting to
a sharded collection.
2018-11-05 09:08:39 -05:00
Patrick Freed
d7ac4da9c4 SERVER-36619 Test that ECDSA certificates can be loaded by OpenSSL on Linux 2018-11-02 18:46:38 -04:00
natalie.tsvetkova
b2f8859fbb SERVER-35518: Support the failCommand fail point in mongoS 2018-11-02 16:02:05 -04:00
Blake Oler
f13d685ade SERVER-37624 Allow sessions collection TTL index expiration value to change upon node restart 2018-11-02 09:39:31 -04:00
Blake Oler
3caa3c4a4b SERVER-37241 Add testing to verify proper expiration of sessions in the sessions collection 2018-10-31 12:37:21 -04:00
Vesselina Ratcheva
66434ba0a7 SERVER-32146 Log slow oplog entry application 2018-10-25 17:34:53 -04:00
Ted Tuckman
8e638c938e Remove listLocalCursors 2018-10-12 09:45:05 -04:00
Bernard Gorman
1b51df8420 SERVER-31698 Move wildcard_index integration tests to /core/ 2018-10-10 16:03:27 +01:00
Shreyas Kalyan
22f97156ab SERVER-36895 updated SAN recognition for IP addresses on Mac and OpenSSL 2018-10-08 18:55:45 -04:00
Daniel Gottlieb
ae2e78ff63 SERVER-36270: Add test combining backup cursors and manipulating the truncate after point. 2018-10-08 11:54:17 -04:00
Bernard Gorman
b73a042894 SERVER-36198 Remove 'internalQueryAllowAllPathsIndexes' server parameter 2018-10-03 22:36:02 +01:00
Ted Tuckman
03f529f1d6 SERVER-37003 Minor change to test for cursor field of curOp for getMore 2018-09-28 15:45:24 -04:00
Ted Tuckman
a73b2fc77d SERVER-37003 Add activeCursor field to curOp for getMore 2018-09-28 11:46:03 -04:00
Ian Boros
4dcebf9c48 SERVER-35491 extend FSM workloads to use wildcard indexes 2018-09-27 11:57:20 -04:00
Blake Oler
befd7a7b7c SERVER-36721 Prevent list_all_local_sessions.js from being run with other
tests that rely on the LogicalSessionCache in the parallel suite
2018-09-25 12:02:50 -04:00
Blake Oler
184b099350 SERVER-36721 Prevent tests that use the logical session cache from running in parallel 2018-09-21 09:30:43 -04:00
Sara Golemon
ad8d4ad25c
SERVER-36614 Add handling of __exec config expansions 2018-09-18 12:53:49 +00:00
Ted Tuckman
8f9cf06033 SERVER-37001 Add idleCursor to $currentOp 2018-09-14 13:34:41 -04:00
Justin Seyster
eebc418c22 SERVER-36435 Make ReplSetTest.kDefaultTimeoutMS accessible everywhere.
Tests should, generally, not be accessing global const values like
kReplDefaultTimeoutMS. This change removes that const and fixes the
detect_spawning_own_mongod.js override so that it no longer overwrites
ReplSetTest.kDefaultTimeoutMS, making it accessible to jstests that do
not operate on replica sets.
2018-09-11 15:16:31 -04:00
Justin Seyster
2428d8b901 SERVER-36859 Skip view_with_invalid_dbname.js in parallel suite.
An invalid view in the system.views collection causes any other writes
to fail. That will cause most tests to fail if they run in parallel
with view_with_invalid_dbname.js.
2018-09-07 17:12:58 -04:00
Jonathan Abrahams
fdf3ac3da5 SERVER-35160 ScopedThreads should automatically inherit TestData from their parent thread 2018-09-05 15:47:58 -04:00
Charlie Swanson
c727aeae4d SERVER-36899 Accept new 'startAfter' option in watch() helpers 2018-08-28 17:21:00 -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
Pavi Vetriselvan
4695b6b675 SERVER-35814 ensure that prepareTransaction waits for writeConcern 2018-08-23 13:17:42 -04:00
Tess Avitabile
f5e7c8f3e8 SERVER-33248 Allow choosing a sync source that we are up to date with if it has a higher lastOpCommitted 2018-08-22 10:41:55 -04:00
Xiangyu Yao
0d5d976fbc SERVER-36281 Test upgrade/downgrade behaviors for unlimited index key length 2018-08-21 23:06:50 -04:00
David Storch
21762f8b9b SERVER-36528 Implement $planCacheStats agg source.
The $planCacheStats agg metadata source should typically be used
instead of the older 'planCacheListPlans' and
'planCacheListQueryShapes' commands (although these plan cache
commands are still fully supported).

Lookup by 'queryHash' can be achieved via a $planCacheStats-$match
pipeline.
2018-08-21 18:54:22 -04:00
Xiangyu Yao
4c2e46a3e0 SERVER-36278 Remove the 1KB index key size limit in FCV42 2018-08-15 15:09:51 -04:00
David Bradford
3e66a68ffb SERVER-36467: pass arguments to original function when overriding ReplSetTest functions 2018-08-10 12:37:59 -04:00
Robert Guo
d88e328fe5 SERVER-36233 prevent the profile command from being run on secondary read override suites 2018-08-09 09:12:51 -04:00
Sulabh Mahajan
0dea042ec8 SERVER-34954 Add test to check unique indexes on a newly added --shardsvr node 2018-08-09 14:04:46 +10:00
Maria van Keulen
88a8b7b31c SERVER-36257 Remove copyDB and clone commands 2018-08-07 14:26:55 -04:00
nehakhatri5
4e57f57add SERVER-34489 Enable timestamp safe unique indexes via FCV. 2018-08-06 15:51:51 +10:00
Samy Lanka
806b9c32df SERVER-35037 Create new concurrency suite that runs consecutive operations inside of a single transaction 2018-08-03 18:25:42 -04:00
Blake Oler
bc880e1382 SERVER-36313 Re-enable global snapshot find and aggregate tests 2018-08-02 14:14:03 -04:00
Haley Connelly
075d7fe467 SERVER-23332 Expose query plan cache key in system.profile entry and query log lines 2018-07-31 18:34:33 -04:00
Mathias Stearn
480192de17 SERVER-33135 Delete code for OP_COMMAND 2018-07-30 13:57:10 -04:00
Cheahuychou Mao
c7ce2dcdea SERVER-35238 Drop the collection after removing the partially written chunks for mapReduce in mongos_manual_intervention_actions.js 2018-07-27 12:20:06 -04:00
Tess Avitabile
2a2630d2d3 SERVER-35919 Ensure all tests that use transactions perform collection drops with w:majority 2018-07-26 12:07:52 -04:00
David Storch
4021ba116f SERVER-35973 Report MULTI_ITERATOR common exec stats correctly. 2018-07-16 15:56:54 -04:00
Sean Tao
acdbc57731 SERVER-33998 Remove the parallelCollectionScan command 2018-07-12 17:54:34 -04:00
Max Hirschhorn
a750bf210f SERVER-35537 Create mongoebench for running benchRun against mobile.
It take a JSON config file with a "pre" section for any setup logic and
an "ops" section for the operations that the benchRun workers should
execute repeatedly.
2018-07-10 01:39:36 -04:00
Nick Zolnierz
5f48be8178 SERVER-35280: Add handling for drops of sharded collections in change stream tests 2018-07-09 14:07:55 -04:00
Audrey Fang
1b60412ee9 SERVER-35131 Remove system.namespaces and system.indexes-specific UUID handling for 4.2 2018-07-03 13:44:16 -04:00
Max Hirschhorn
99d3436094 SERVER-35383 Raise election timeout to 24 hours for stepdown suites. 2018-07-02 11:36:02 -04:00
Blake Oler
53a34c4f01 SERVER-35655 Update FCV constants throughout server code.
SERVER-35169 Bump wire protocol version for 4.2.
SERVER-35752 Ensure tests that rely on FCV pass after updating FCV constants.
SERVER-35163 Unblacklist tests that expect FCV version to differ between "last-stable" and "latest."
SERVER-34984 Update major_version_upgrade.js to call setFCV to the latest FCV.
SERVER-35656 Ensure a 4.0 mongos crashes upon attempting to connect to an FCV 4.2 cluster.
SERVER-35404 Re-enable the sharding_last_stable_mongos_and_mixed_shards suite.
2018-07-02 10:50:53 -04:00
Sara Golemon
7d255086dd
SERVER-35847 Remove eval command and remove/update related tests/helpers 2018-06-29 23:02:02 -04:00
Nick Zolnierz
bbe67b5bdd SERVER-34789: Using resume token from 'invalidate' notification for 'resumeAfter' should error 2018-06-27 09:38:59 -04:00
Samy Lanka
a21c7c7e0d SERVER-35388 Improve misleading error messages for operations banned in transactions 2018-06-25 16:50:34 -04:00
Geert Bosch
ab0c426e60 SERVER-35591 Remove MMAPv1 testing 2018-06-25 16:47:18 -04:00
Nick Zolnierz
77f4317258 SERVER-35029: Add change stream notification for database drop 2018-06-19 15:37:58 -04:00
Robert Guo
2b4f872010 SERVER-35089 Update txn jscore passthrough suite blacklist 2018-06-19 13:11:09 -04:00
Kyle Suarez
7bc7864fc0 SERVER-35043, SERVER-22949: move geoNear implementation into aggregation
This commit removes the geoNear command and moves its implementation
into the aggregation framework. Users should use the aggregate command
with a $geoNear stage.

The implementation rewrite additionally removes the limit in the
$geoNear aggregation stage. To limit the number of results, use a $limit
stage.
2018-06-18 23:34:49 -04:00
Mark Benvenuto
8678e9ee87 SERVER-35541 Support PKCS#8 PrivateKeyInfo in SChannel Provider 2018-06-11 23:32:42 -04:00
Robert Guo
59235c563b SERVER-34248 Add flag to temporarily bypass read preference override 2018-06-11 18:25:35 -04:00
Martin Neupauer
6acedb1006 WRITING-2731 Build integration test running script for testing the mql-model command line tool 2018-06-09 08:56:32 -04:00
Sulabh Mahajan
e361973f0e SERVER-33605 Mobile SE:Disable capped collections and related testing 2018-06-08 14:34:55 +10:00