0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 17:10:48 +01:00
Commit Graph

11792 Commits

Author SHA1 Message Date
Pavi Vetriselvan
4ae9ca6543 SERVER-42453 ensure clusterTime advances past afterClusterTime timestamp for read in step_down_on_secondary.js 2019-07-26 16:20:26 -04:00
Medha Potluri
dc4db514a1 SERVER-41501 Track the number of elections that require primary catchup in serverStatus 2019-07-26 15:38:46 -04:00
ADAM David Alan Martin
cabb59afb1
SERVER-42178 Disable Split Horizon testing on SLES. 2019-07-26 14:51:58 -04:00
Adam Cooper
2ff2b24ce6 SERVER-35753 listCommands should include value for requiresAuth 2019-07-26 13:14:47 -04:00
Maria van Keulen
9fd91d29a2 SERVER-42393 Fix initial sync race in assertStartInReplSet 2019-07-26 12:58:31 -04:00
Gregory Wlodarek
e6b6a2231a SERVER-41861 Change existing jstests to mention the new 'all_durable' timestamp over the deprecated 'all_committed' timestamp 2019-07-26 12:39:27 -04:00
Vesselina Ratcheva
5f7471631d SERVER-42372 Ban findAndModify against capped collections in transactions 2019-07-26 11:50:47 -04:00
Ian Boros
7a4fce6cfd SERVER-40110 don't call OpContext::checkForInterrupt() off-thread 2019-07-26 11:21:22 -04:00
Jonathan Reams
d24b2849eb
SERVER-42378 Validate python environment before config expansion timeout test 2019-07-26 10:28:46 -04:00
Jamie Heppenstall
8f75d29d9c SERVER-42142 Add jstest confirming that a jumbo chunk that could not be split can be after calling refineCollectionShardKey 2019-07-25 17:39:56 -04:00
Jamie Heppenstall
d3d8a901b7 SERVER-42141 Implement sharded metadata updates for refineCollectionShardKey without using a transaction 2019-07-25 17:23:34 -04:00
Geert Bosch
917d338c4b SERVER-42300 Retry, not skip, renamed ns in forEachCollectionFromDb 2019-07-25 14:10:28 -04:00
Jason Zhang
bbd8ad370b SERVER-42119 Add shardsvrRenameCollection that wraps the existing mongod renameCollection command. 2019-07-25 13:01:38 -04:00
Suganthi Mani
be06cfaae8 SERVER-41980 Prepared transactions should not acquire ticket on primary. 2019-07-25 00:02:55 -04:00
Suganthi Mani
2ff54098b1 SERVER-41881 Unstashing the transaction lock resources should ignore the saved value of maxLockTimeout and explicitly set the maxLockTimeout based on node's state.
SERVER-41883 Replication state transition reacquires locks and tickets of a prepared transaction with no lock timeout.
    SERVER-41556 Handles failure to reacquire locks and ticket when unstashing transactions.
2019-07-24 23:57:48 -04:00
Suganthi Mani
f5f62f877b SERVER-42388 Release the transaction lock resources and abort storage
transaction for unprepared transactions on failure to unstash the
transaction resources to opCtx.
2019-07-24 23:47:28 -04:00
George Wangensteen
f4399fceab SERVER-42017 make stage names in error messages match name used 2019-07-24 17:44:23 -04:00
Vishnu Kaushik
45ff40ff0f SERVER-42129 modifies test to account for ephemeralForTest engine's missing oplog after restart. 2019-07-24 13:52:17 -04:00
Jason Chan
f973b39399 SERVER-42350 Add requires_document_locking tag to majority_writes_wait_for_all_committed_with_majority_read_concern_off.js 2019-07-24 10:27:21 -04:00
Xin Hao Zhang
5c9f7fb5d3 SERVER-36186 Default to the the oplogreplay optimization path for oplog collections 2019-07-24 08:09:43 -04:00
Kaloian Manassiev
e3c26cf2f4 SERVER-41369 Terminate the TransactionCoordinator retry logic if read concern majority is not available 2019-07-23 17:25:35 -04:00
William Schultz
7d687264de SERVER-42251 Timestamp multikey writes with the prepare timestamp during replication recovery
Now that we execute multikey catalog updates in a side transaction, we need to give them some suitable timestamp. In normal replication, we can grab the latest value of the LogicalClock. In startup recovery, though, we may replay a prepared transaction that does a multikey write, but the LogicalClock may not have been initialized yet. Thus, we use the prepare timestamp of the transaction for the multikey write, since that timestamp is guaranteed to be less than or equal to the commit timestamp of the transaction.
2019-07-23 17:06:54 -04:00
Vesselina Ratcheva
d7154f5b3c SERVER-42341 Make checks more specific in log_secondary_oplog_application.js 2019-07-23 17:00:01 -04:00
Gabriel Russell
f79c017612 SERVER-42316 always join all threads in run_check_repl_dbhash_background.js 2019-07-23 15:52:26 -04:00
Ian Boros
38e92ef5b9 Revert "SERVER-41881 Unstashing the transaction lock resources should ignore the saved value of maxLockTimeout and explicitly set the maxLockTimeout based on node's state."
This reverts commit b7cec5064f.
2019-07-23 12:09:42 -04:00
Ian Boros
e529848702 Revert "SERVER-41980 Prepared transactions should not acquire ticket on primary."
This reverts commit a5d4ab967a.
2019-07-23 12:09:35 -04:00
Misha Ivkov
9efa2b1d4d SERVER-12916 ensure find on _id field obeys min/max. 2019-07-22 17:46:47 -04:00
Ian Boros
bf8fcb05e0 SERVER-42291 generate correct bounds for $nin null queries 2019-07-22 15:34:27 -04:00
Jamie Heppenstall
cdbb41b4c4 SERVER-42106 Use auto-generated _ids for config.chunks and config.tags 2019-07-22 14:22:39 -04:00
Matthew Saltz
790609ffb6 SERVER-41480 Increment major version on splits where the shard version equals the collection version 2019-07-22 14:15:08 -04:00
Suganthi Mani
a5d4ab967a SERVER-41980 Prepared transactions should not acquire ticket on primary. 2019-07-21 22:40:51 -04:00
samontea
4ee069b7c2 SERVER-42216 Ensure pin_getmore_cursor.js waits for server to finish killing cursor 2019-07-19 16:32:44 -04:00
Benety Goh
28d9deadde SERVER-42272 IndexBuildsCoordinator ignores duplicate index names within an index build 2019-07-19 10:17:59 -04:00
Bernard Gorman
ffdb59938d SERVER-42232 Adding a new shard renders all preceding resume tokens invalid 2019-07-18 22:29:23 +01:00
Jason Zhang
7f15f3efd3 SERVER-42120 Add configsvrRenameCollection that takes NamespaceSerializer locks and distributed locks on the database and collection. 2019-07-18 14:52:12 -04:00
Maria van Keulen
4a8d767411 SERVER-42091 Look for at least 2 log messages in flow_control_logging.js 2019-07-17 16:58:37 -04:00
Xin Hao Zhang
37874e227a SERVER-42201 Fix namespace validation for MR cluster command 2019-07-17 16:56:45 -04:00
jannaerin
27079c53fa SERVER-41950 MongoS should attach dbVersion on agg path when collection is unsharded 2019-07-17 13:26:03 -04:00
William Schultz
19d0d47fb8 SERVER-42004 localhost JS tests should wait for an election to complete before shutting down 2019-07-17 10:14:37 -04:00
Jason Zhang
8696830b93 SERVER-41739 Attach dbVersion for find operation when attaching shardVersion in the case of an UNSHARDED collection 2019-07-16 17:51:22 -04:00
Jason Chan
5d376f8064 SERVER-41769 audit uses of write concern majority before transactions with snapshot read concern 2019-07-16 17:47:35 -04:00
Jason Chan
795b99ef36 SERVER-41769 Pin _currentCommittedSnapshot to be <= the allCommitted timestamp when EMRC=false 2019-07-16 14:09:55 -04:00
Blake Oler
bfe2e00fab SERVER-41777 Call awaitLastOpCommitted() in test with stale mongos 2019-07-16 11:39:55 -04:00
David Golden
c652c07f6c
Import tools: f6fdd97dbea59639732068720558c83b88947e15 from branch v4.1
ref: 4eba41d830..f6fdd97dbe
for: 4.3.1

TOOLS-2174    mongodump and mongoexport fail to dump autoIndexId false capped collection due to invalid hint
TOOLS-2276    dump/export/files query should use extJSON v2 and ordered BSON
TOOLS-2302    Update supported build platforms to match server 4.2
TOOLS-2332    oplog_replay_local_rs.js fails on server latest
2019-07-16 11:07:21 -04:00
Suganthi Mani
b7cec5064f SERVER-41881 Unstashing the transaction lock resources should ignore the saved value of maxLockTimeout and explicitly set the maxLockTimeout based on node's state.
SERVER-41883 Replication state transition reacquires locks and tickets of a prepared transaction with no lock timeout.
SERVER-41556 Handles failure to reacquire locks and ticket when unstashing transactions.
2019-07-15 17:14:04 -04:00
Esha Maharishi
0b1c9766ec SERVER-42212 Make config server wait for majority before sending _flushDatabaseCacheUpdates to primary shard 2019-07-15 16:59:32 -04:00
Justin Seyster
c68b233864 SERVER-41770 Multiversion test for change stream support of large txns 2019-07-15 13:52:48 -04:00
Shreyas Kalyan
ac6c8db70d
SERVER-41313 Evaluate Driver's Client Side FLE Specification Tests in Shell 2019-07-15 13:47:52 -04:00
Louis Williams
e04e197dc9 SERVER-41823 Wait for prepare to be majority committed before committing in index_builds_ignore_prepare_conflicts.js 2019-07-12 12:50:39 -04:00
Jason Zhang
520e7550ee SERVER-41951 Make the findAndModify path on mongos attach databaseVersion when sending shardVersion for Unsharded collections. 2019-07-12 11:58:07 -04:00