summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-46365 Do not trip invariant on FCV check in getMorer4.0.17-rc0r4.0.17Justin Seyster2020-03-092-2/+40
|
* SERVER-45770 add to/from information to moveChunk.to log messageJosef Ahmad2020-03-061-1/+1
| | | | | | | (cherry picked from commit 742ac9b37b1d8f489e1b259a0a3575f8811edac4) Conflicts: src/mongo/db/s/migration_destination_manager.cpp
* SERVER-45363 Base weight for text index on exact match not possible matchTed Tuckman2020-03-052-1/+48
| | | | (cherry picked from commit 4bb2ad4c48c07d267c98f5443e0984a5e1ef7209)
* SERVER-46466 Make session migration destination check out sessionRandolph Tan2020-03-041-13/+23
|
* SERVER-44598 Shards do not treat the IGNORED version as "intended sharded"Kaloian Manassiev2020-03-028-31/+127
| | | | | (cherry picked from commit 7604dad6da718751ad1f04bae1c839e87a1f8651) (cherry picked from commit 5868a00ce71d85b6063489909b5ae79bc7369338)
* SERVER-46001 Move checkShardingIndex outside shardCollection's read critical ↵Cheahuychou Mao2020-02-281-14/+16
| | | | | | section on the primary shard (cherry picked from commit eb81b49551d3fa7763c1a917bf210e497ef5bab7)
* Import wiredtiger: 1289661dc517fcd41326d407a04c788926db1919 from branch ↵Luke Chen2020-02-286-17/+33
| | | | | | | | | | | | | mongodb-4.0 ref: 54a846c423..1289661dc5 for: 4.0.17 WT-5150 LAS sweep is not removing the entries that are no longer required WT-5192 Don't allow checkpoints to evict without a snapshot WT-5263 Prepared updates written to the lookaside file are not always read as needed WT-5395 Fix a bug in the read lock implementation when there is a lot of contention WT-5587 Limit how many checkpoints are dropped by a subsequent checkpoint
* SERVER-45418 Avoid explicitly batching documents in $cursor for count-like ↵David Storch2020-02-272-19/+111
| | | | | | aggregates. (cherry picked from commit 7c4676ef0e8e47cf79e10b81f7661f8fbea82cb0)
* SERVER-35050 Don't abort collection clone due to negative document countMihai Andrei2020-02-272-8/+9
| | | | (cherry picked from commit 5ed5b857aaf2e2fbf443588e9b4cbb359fbd1f4d)
* SERVER-39112 Remove 1-second delays when starting and stopping OplogApplier. ↵Matthew Russotto2020-02-276-8/+74
| | | | Speeds up transition from primary drain mode to a writeable primary.
* SERVER-44853 MSI Should skip install MongoD service dialog when mongod is ↵Mathew Robinson2020-02-271-3/+19
| | | | | | not selected to be installed (cherry picked from commit a56d4030fc278b40a320e45422f7ee8e4eaecc34)
* SERVER-43867 Work around unrecoverability of rollback via refetch in tests ↵Vesselina Ratcheva2020-02-276-1/+264
| | | | | | | SERVER-43867 Move check_log inside src/mongo/shell/ (cherry picked from commit 7c42573b96ecfa43fbf76aa01cd659ee00fc6103) (cherry picked from commit 9e69da32cea83fc45724213215a8de40d2635f45)
* SERVER-45599 Backport of SERVER-39495: Move ↵Kaloian Manassiev2020-02-2618-262/+351
| | | | | | | | | | | | | ShardingState::needCollectionMetadata under OperationShardingState ShardingState logically contains answers to questions about whether the current instance is node in a sharded cluster, whereas OperationShardingState is responsible for the 'shardedness' of the commands. This is a partial cherry-pick from b049257fbd1d215388cffaf7544f6741dbce5b45, adapted for the 4.0 branch. Also backports the addition of more testing for multi:true/justOne:false updates and ChangeStreams, which was taken from commit 50f6bd4d6a9428a6f1df22db792d7b55d773762c.
* SERVER-40014: System-Perf: Default is_patch expansion to falseMaryana Piatrova2020-02-261-2/+2
|
* SERVER-45599 Backport of SERVER-39495: Only return versioned filtering ↵Kaloian Manassiev2020-02-2616-154/+168
| | | | | | metadata for cases that actually need to do filtering This is a partial cherry-pick from 851dad7902d6bb8c3ed25f99f565a2e2c8c8bc47, adapted for the 4.0 branch.
* SERVER-45599 Backport of SERVER-32198: Split ↵Kaloian Manassiev2020-02-2632-522/+570
| | | | | | | | | | | | CollectionShardingState::getMetadata into three methods o getCurrentMetadataIfKnown - which returns the current filtering metadata if any is available o getMetadataForOperation - which returns the metadata which is required by the current opertion, based on the OperationShardingState o getCurrentMetadata - which returns the currently available filtering metadata (or UNSHARDED if not known) This is in preparation for making getMetadataForOperation/getCurrentMetadata throw StaleShardVersion exception if the metadata has not been loaded yet. This is a partial cherry-pick from dcf7e0dd89d34f58b592f1adb3d41e5edd6e2012, adapted for the 4.0 branch.
* SERVER-45178 Always update rollbackId before truncating oplog for ↵Vesselina Ratcheva2020-02-262-4/+63
| | | | | | | | rollback-via-refetch create mode 100644 jstests/replsets/rollback_via_refetch_update_rollback_id_before_oplog_truncation.js (cherry picked from commit 04a2c9acc7ca061fb86736b377b897b11f6c7c48)
* SERVER-45599 Backport of SERVER-32198: Make MetadataManager support an ↵Kaloian Manassiev2020-02-2617-329/+412
| | | | | | 'UNKNOWN' filtering metadata state This is partial cherry-pick of the changes done under 20117b8ee9678794be675eb4d728bfcc8f9d75f4 to make the 4.0 logic match that of 4.2.
* SERVER-42219 Make sure oplog buffer is empty when primary exits drain mode.Siyuan Zhou2020-02-262-9/+60
| | | | (cherry picked from commit 883b10b38ddd7aa5b9a197688141ebf387292a07)
* SERVER-42219 Remove logging death test of signalDrainComplete.Siyuan Zhou2020-02-262-48/+0
| | | | | | Reverted a5cbd93aea SERVER-32935 add characterization test for exception handling in oplog application loop (cherry picked from commit 89a6d7bc3a0126cf8bfd177ad65b233181641175)
* SERVER-46238 Transaction will abort properly when expiring in the middle of ↵Jason Chan2020-02-253-5/+60
| | | | commitTransaction
* SERVER-45599 Backport the 'assertChangeStreamEventEq' function from masterKaloian Manassiev2020-02-251-0/+27
| | | | | | This function is necessary for adding change streams testing and was picked up from these two commits: 065f3ef77de and 38a0e128d66, but it doesn't backport the commits themselves.
* SERVER-45840 Blacklist tests that run emptycapped from ↵Tess Avitabile2020-02-214-0/+6
| | | | | | replica_sets_kill_secondaries_jscore_passthrough (cherry picked from commit 12782dd756988d11b296cb5298ab74ea6ce8a444)
* SERVER-46307 database_versioning_safe_secondary_reads.js should not set ↵Esha Maharishi2020-02-211-2/+2
| | | | "votes: 0" on the shard secondaries
* SERVER-45273 Remove the mongos version check in allow_partial_results.js and ↵Cheahuychou Mao2020-02-182-28/+6
| | | | | | return_partial_shards_down.js (cherry picked from commit d9a68d2c084bfed60527aa9aa29e2a843b97e9c2)
* SERVER-46174 Free peer certificate in SSL_get0_verified_chain polyfillSara Golemon2020-02-151-10/+11
| | | | (cherry picked from commit 98042804dff69afac74a7e2681efc0d00d207f2c)
* SERVER-46082 Use bin/analysis.py for performance projectsHenrik Ingo2020-02-132-51/+40
| | | | | (cherry picked from commit e594e572c3d1b30948058523b629185c1ef94f14) (cherry picked from commit 37bdcc9339dab2d1a9d7c4825822cae33f25296d)
* SERVER-34768 Sync source's optime cannot be behind the syncing node even if ↵Siyuan Zhou2020-02-102-0/+25
| | | | | | | | chaining is disabled. (cherry picked from commit 319757ebb72611fb91044a2a81d1b77a6f3729c1) SERVER-46050 Use getLastAppliedOpTime rather than getHeartbeatAppliedOpTime for checking primary's position.
* SERVER-35437 Wait for secondary state after stepdown command in multi_rs.jsSiyuan Zhou2020-02-101-0/+3
|
* SERVER-45493 temporarily disable failing assertion in ↵Judah Schvimer2020-02-051-2/+4
| | | | | | election_candidate_and_participant_metrics.js (cherry picked from commit f6622508476deda1bbee51247a4ac6118f121440)
* SERVER-45766: Remove "requires" from the server yamlAlexander Costas2020-02-051-4/+0
|
* SERVER-42573 Only warn about enableReadConcernMajority if PSA architectureXuerui Fa2020-02-043-2/+15
| | | | (cherry picked from commit 897ebf0eb55ffc68ef4c09aefc43a48bca82df3d)
* SERVER-44435 Allow selective whitelisting of X509 based role authorizationsSara Golemon2020-02-0316-1/+654
| | | | | | | | | | (cherry picked from commit b99fbe5f80f4368e1916e1bfbf3d195276ace5c7) create mode 100644 jstests/ssl/tlsCATrusts.js create mode 100644 jstests/ssl/x509/root-and-trusted-ca.pem create mode 100644 jstests/ssl/x509/trusted-client-testdb-roles.pem create mode 100644 src/mongo/db/auth/auth_types.idl create mode 100644 src/mongo/util/net/ssl_parameters.idl
* SERVER-44325 Provide SSL_get0_verified_chain() polyfill for OpenSSL < 1.1.0Sara Golemon2020-02-031-0/+47
| | | | (cherry picked from commit d4a93cea2eee5d2823d7a4d0224db06b4cd15b50)
* Revert "SERVER-45599 Backport the 'assertChangeStreamEventEq' function from ↵r4.0.16-rc0r4.0.16Kaloian Manassiev2020-01-291-27/+0
| | | | | | master" This reverts commit 0363c1d062483022c7c1d2f2357edee3713073ca.
* Revert "SERVER-45599 Backport of SERVER-32198: Make MetadataManager support ↵Kaloian Manassiev2020-01-2917-412/+329
| | | | | | an 'UNKNOWN' filtering metadata state" This reverts commit e4e052a10484cf2cc44c62c377db4ece8162820a.
* Revert "SERVER-45599 Backport of SERVER-32198: Split ↵Kaloian Manassiev2020-01-2932-570/+522
| | | | | | CollectionShardingState::getMetadata into three methods" This reverts commit a414e4ceafb45dc6ebf4daeb9198f0a7f3fb189c.
* Revert "SERVER-45599 Backport of SERVER-39495: Only return versioned ↵Kaloian Manassiev2020-01-2916-168/+154
| | | | | | filtering metadata for cases that actually need to do filtering" This reverts commit fe4ced8f98d731883e5a4511d434716629e457a8.
* Revert "SERVER-45599 Backport of SERVER-39495: Move ↵Kaloian Manassiev2020-01-2918-351/+262
| | | | | | ShardingState::needCollectionMetadata under OperationShardingState" This reverts commit 1a01c53df8f7c1e016c0ccbc38b77f6b3508bf65.
* Revert "SERVER-44598 Shards do not treat the IGNORED version as "intended ↵Kaloian Manassiev2020-01-298-127/+31
| | | | | | sharded"" This reverts commit f2eee7f4879a0dda72b281c8d1d25f2afc4c5eb7.
* Revert "SERVER-43910 BasicCommand::Invocation sets LockManager DebugInfo"Benety Goh2020-01-291-1/+0
| | | | This reverts commit 41981ad8d67b3fc95da21506751cc5d284e724e1.
* SERVER-45289 Fix uninitialized variable in the validate adaptorGregory Wlodarek2020-01-281-1/+1
| | | | (cherry picked from commit 9e27158084512a69c66421c951456dab9da768aa)
* SERVER-44103 clear_jumbo.js should wait for balancer to be on mode: full for ↵Randolph Tan2020-01-271-3/+2
| | | | | | more than one round (cherry picked from commit 7e7a45333cbab5ded49543ee2b09611f77792a51)
* SERVER-40047 Test for blocking queue should not test for non-guaranteed ↵Matthew Russotto2020-01-271-1/+1
| | | | | | condition. (cherry picked from commit c0654eacb16ed1ff98d3d7bbf8a9a949a291a9d1)
* SERVER-45761 Use same clock for test and working code in session_test [v4.0]Matthew Russotto2020-01-271-12/+6
|
* SERVER-45713 run rhel7 publish tasks on larger distroZakhar Kleyman2020-01-271-2/+6
|
* SERVER-45486 Add information to debug index key count mismatch issue in ↵Arun Banala2020-01-271-4/+16
| | | | | | 'hashed_index_bad_keys_cleanup.js' (cherry picked from commit 5ebed8698873294ec0dc98395787d3caafa8b6af)
* SERVER-44598 Shards do not treat the IGNORED version as "intended sharded"Marcos José Grillo Ramírez2020-01-278-31/+127
| | | | | (cherry picked from commit 7604dad6da718751ad1f04bae1c839e87a1f8651) (cherry picked from commit 5868a00ce71d85b6063489909b5ae79bc7369338)
* SERVER-45599 Backport of SERVER-39495: Move ↵Kaloian Manassiev2020-01-2618-262/+351
| | | | | | | | | | | | | ShardingState::needCollectionMetadata under OperationShardingState ShardingState logically contains answers to questions about whether the current instance is node in a sharded cluster, whereas OperationShardingState is responsible for the 'shardedness' of the commands. This is a partial cherry-pick from b049257fbd1d215388cffaf7544f6741dbce5b45, adapted for the 4.0 branch. Also backports the addition of more testing for multi:true/justOne:false updates and ChangeStreams, which was taken from commit 50f6bd4d6a9428a6f1df22db792d7b55d773762c.
* SERVER-45599 Backport of SERVER-39495: Only return versioned filtering ↵Kaloian Manassiev2020-01-2616-154/+168
| | | | | | metadata for cases that actually need to do filtering This is a partial cherry-pick from 851dad7902d6bb8c3ed25f99f565a2e2c8c8bc47, adapted for the 4.0 branch.