Commit Graph

39495 Commits

Author SHA1 Message Date
Katherine Walker
991293423d SERVER-31255 Prevent dropIndex rollback from failing 2017-10-13 10:20:35 -04:00
Benety Goh
24e23ac82f SERVER-31491 fix race in ThreadPoolTest::ThreadPoolRunsOnCreateThreadFunctionBeforeConsumingTasks
This patch fixes the relative scopes of the Barrier and ThreadPool instances in the test function.
Since the thread function provided to the ThreadPool refer to the Barrier, the Barrier must outlive
the ThreadPool.
2017-10-13 10:16:35 -04:00
Esha Maharishi
ba0ee77c61 SERVER-30733 make distlocks hierarchical for metadata commands on databases and collections 2017-10-12 18:06:01 -04:00
dalyd
2b10c2876d SERVER-30241: Attach workloads html to evergreen task 2017-10-12 16:28:06 -04:00
Mark Benvenuto
254a60a637 SERVER-26109 Propagate MongoS information in client_metadata documents 2017-10-12 14:45:26 -04:00
Esha Maharishi
c617c3efab SERVER-31008 Make trying to move the primary shard to the current primary not return an error 2017-10-12 13:52:20 -04:00
Esha Maharishi
c25497890b SERVER-31520 metadata commands on mongos should transparently pass config server response back to client 2017-10-12 12:14:44 -04:00
Nick Zolnierz
b5cea947a2 SERVER-24174: Inconsistent rule for storing dotted field names 2017-10-12 11:34:49 -04:00
Henrik Edin
5c7a7ca7ec SERVER-31512 Use awaitNodesAgreeOnPrimary instead of waitForState in replsetprio1.js to improve robustness of test. 2017-10-12 09:59:05 -04:00
Henrik Edin
c7286b3404 SERVER-31492 Make TransportLayerLegacy::start block until we are ready to accept connections.
Fix bug in the replication coordinator where it attempted to make connections to self if we are bound to 0.0.0.0.
2017-10-12 09:55:26 -04:00
Ramon Fernandez
96dfbfbb8c Import wiredtiger: 4b5ade6072 from branch mongodb-3.6
ref: 0cd3d5bbd8..4b5ade6072
for: 3.5.14

WT-3644       Port to FreeBSD release 11.1
WT-3645       Build Failed: Lookaside file occupies 10MB of 11MB cache size
WT-3646       Only use lookaside when operations are blocked waiting for cache
WT-3649       Disable lookaside eviction during close
r3.6.0-rc0
2017-10-12 07:15:30 -04:00
Misha Tyulenev
8205b768ca Revert "SERVER-31481 skip cluster time validation for the __system user in mongos"
This reverts commit 1acb9c0d55.
2017-10-11 19:07:05 -04:00
Kaloian Manassiev
d40e4b4104 SERVER-5128/SERVER-5130 Modify js test to validate both tickets are fixed
Also gets rid of one unnecessary noPassthroughWithMongod test.
2017-10-11 18:45:31 -04:00
Kaloian Manassiev
8ae0a29132 SERVER-30532 Rename find_and_modify.h to find_and_modify_common.h 2017-10-11 18:45:31 -04:00
Jack Mulrow
57b354947e SERVER-31213 Retry retryable writes at least once in retryable_writes_jscore_passthrough 2017-10-11 18:11:47 -04:00
Misha Tyulenev
1acb9c0d55 SERVER-31481 skip cluster time validation for the __system user in mongos 2017-10-11 17:26:27 -04:00
Charlie Swanson
848eebc5fc SERVER-31475 Always detach from op ctx after cluster getMore.
Signed-off-by: David Storch <david.storch@10gen.com>
2017-10-11 17:12:36 -04:00
David Storch
e7390933e1 SERVER-31516 Fix improper initialization of empty NamespaceString. 2017-10-11 17:12:11 -04:00
Sara Golemon
b7d82c65d4 SERVER-31517 Disable MONGODB-CR deprecation warning on ephemeral runs 2017-10-11 16:41:19 -04:00
Esha Maharishi
7251fd2e2d Revert "SERVER-30534 Create a _configsvrDropCollection command"
This reverts commit d7325950d7.

Reverting this commit because it resulted in dead code. It created a new _configsvrDropCollection command on the config server and copied the business logic from mongos into it, but we never completed the ticket that made mongos forward dropCollection to the config server.
2017-10-11 15:15:45 -04:00
Tess Avitabile
0287fb0144 SERVER-31408 Test that all code paths that support expr support throwing at runtime 2017-10-11 14:07:30 -04:00
Jonathan Reams
8c35aac5f1 SERVER-31468 replSets/startParallelShell.js should wait for its parallel shells to exit 2017-10-11 13:51:41 -04:00
Jonathan Reams
2392f3c4bc SERVER-31465 Shell should log if it fails because of a bad exit code for a child 2017-10-11 13:51:41 -04:00
Ramon Fernandez
8ab02e12db Import tools: 7067f765eb93ff5e1c601fc57317e68eda1978a5 from branch master
ref: 8bda55730d..7067f765eb
for: 3.5.14

TOOLS-1109    failes to build on arm64 (syscall.Dup2 not supported)
TOOLS-1542    dump and export shouldn't count views before running
TOOLS-1555    Huge number of connection while replaying a record
TOOLS-1567    Support MongoURI for connections
TOOLS-1577    update the readme with information about mongoreplay
TOOLS-1591    mongofiles should support custom GridFS files._id
TOOLS-1605    Conditionally create a Windows job object in smoke.py
TOOLS-1623    merge mgo's fix for "Apparent performance degradation in mongodump"
TOOLS-1633    Setting SSLDBConnector.dialError causes data race warnings
TOOLS-1635    Mongostat panic error
TOOLS-1645    short archives cause mongorestore to hang instead of failing
TOOLS-1665    Mongotools may block forever on dead connections
TOOLS-1675    db.GetIndexes should not return an error when the database does not exist
TOOLS-1676    Mongodump fails with OpenSSL 0.9.8
TOOLS-1679    stop running mongod's in tests with --nohttpinterface
TOOLS-1685    don't mongo_version_always_use_latest when unneeded
TOOLS-1694    Fix hidden options defaults
TOOLS-1699    3.4.5 Server causing crash in extended_json_metadata.js
TOOLS-17      mongodump --oplog should record the end oplog entry before backing up the oplog
TOOLS-1704    Update mongo-tools projects to use macos-1012 distro instead of osx-1010
TOOLS-1706    mongoreplay cannot safely terminate on one core
TOOLS-1713    Move mongoreplay evergreen config .evergreen.yml into common.yml
TOOLS-1741    mongoimport --uri throws errors when passed Atlas Connection String URI
TOOLS-1743    legacy24 and legacy26 dumprestore tests failing on master
TOOLS-1767    PR: fixed typo specfy -> specify
TOOLS-1774    Mongoreplay use a socket per connection instead of a session per connection
TOOLS-1775    Add a filter subcommand to mongoreplay
TOOLS-1779    stop building tools on solaris on all branches
TOOLS-1784    add a fullspeed flag to mongoreplay that allows the tool to ignore sleeping and not synchronize timestamps
TOOLS-1792    mongoreplay shouldn't output full operation dump when completing reply with full user verbosity
TOOLS-1793    tool debug logging should log version and arguments
2017-10-11 13:40:35 -04:00
Henrik Edin
8c50e87a82 SERVER-30482 Verify and enforce good ordering for the values for the sharding task executor refresh and host timeouts. 2017-10-11 13:08:12 -04:00
Tess Avitabile
b1d1b244c7 SERVER-31496 MatchExpressionParser::parse() should not throw 2017-10-11 09:47:56 -04:00
Kyle Suarez
fc249a3d97 SERVER-31167 add document validation tests for $jsonSchema 2017-10-11 09:31:30 -04:00
Bernard Gorman
bf805395e5 SERVER-30449 Reimplement ProjectionSpecValidator::ensurePathDoesNotConflictOrThrow using std::set 2017-10-11 13:47:57 +01:00
Matthew Russotto
abefc0c834 SERVER-29609 Avoid interrupt at start of getMore command when using an awaitData cursor. 2017-10-11 08:31:16 -04:00
Matthew Russotto
07b0f384cd SERVER-29609 Disable deadline while doing sharded postimage lookup for $changeStream. 2017-10-11 08:31:16 -04:00
Matthew Russotto
767e041931 SERVER-29609 Enable updateLookup for sharded change streams. 2017-10-11 08:31:16 -04:00
samantharitter
45d35fe3fc SERVER-31184 Make servers automatically set up config.system.sessions 2017-10-11 00:52:09 -04:00
Max Hirschhorn
8b3694d704 Revert "SERVER-29522 better error codes when running concurrent tests in resmoke"
This reverts commit 1e2626463b.
2017-10-11 00:11:17 -04:00
Andrew Aldridge
9489bb5052 SERVER-31378 Improve error checking of $dateToString
Closes #1181

Signed-off-by: Charlie Swanson <charlie.swanson@mongodb.com>
2017-10-10 17:10:59 -07:00
Esha Maharishi
7296e8d748 Revert "SERVER-31486 set slaveOk to false on connection to mongos in checkUUIDsConsistentAcrossCluster"
This reverts commit ce1158916c.

Reverting because it seems to have caused failures in rename.js, and would rather investigate and re-apply it again if not.
2017-10-10 18:46:01 -04:00
Misha Tyulenev
662632bf21 SERVER-29792 upgrade / downgrade replica set tests for causal consistncy 2017-10-10 18:02:42 -04:00
samantharitter
953df5a1f0 SERVER-31184 Make sharding tests only consider chunks for collections they actually use 2017-10-10 17:58:36 -04:00
Esha Maharishi
9094279371 SERVER-31494 move distlock acquisition in movePrimary to before reading the database entry from disk 2017-10-10 16:56:59 -04:00
James Wahlin
2f3b96e636 SERVER-30989 Add Expression rewrite to ExprMatchExpression 2017-10-10 16:39:06 -04:00
Kaloian Manassiev
0ef1d6ec05 SERVER-31501 In testMoveChunkWithSession ensure the config server primary knows about the stepped-down shard 2017-10-10 16:27:34 -04:00
Andrew Morrow
f1884ccb8b SERVER-30278 SCons icecream integration 2017-10-10 16:11:17 -04:00
Tess Avitabile
49dfa0c0e9 SERVER-31161 Index created through applyOps command should not inherit collection default collation 2017-10-10 15:43:05 -04:00
Kaloian Manassiev
c5eb2dc9b5 SERVER-31184 Make FSM concurrency suites filter chunks based on the namespace 2017-10-10 14:50:19 -04:00
Kaloian Manassiev
2463c3abda SERVER-31184 Improve checks in sharding tests 2017-10-10 14:50:19 -04:00
Kaloian Manassiev
63222d3567 SERVER-31184 Cleanup usages of global service context objects
Also cleans up some formatting, no functional changes.
2017-10-10 14:50:19 -04:00
samantharitter
db00a0d9b5 SERVER-31184 Make EnsureFCV a separate test utility 2017-10-10 14:50:19 -04:00
Esha Maharishi
ce1158916c SERVER-31486 set slaveOk to false on connection to mongos in checkUUIDsConsistentAcrossCluster 2017-10-10 13:45:51 -04:00
Tess Avitabile
f864f1ee2c SERVER-27968 $geoWithin with $centerSphere should return LineString and Polygon geometries 2017-10-10 13:10:49 -04:00
William Schultz
e76653c66e SERVER-30496 Update rollback test for collection rename on sync source 2017-10-10 12:58:09 -04:00
William Schultz
bff8080165 SERVER-31062 Log every oplog entry that is going to be rolled back 2017-10-10 12:19:17 -04:00