| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
(cherry picked from commit 742ac9b37b1d8f489e1b259a0a3575f8811edac4)
Conflicts:
src/mongo/db/s/migration_destination_manager.cpp
|
|
|
|
| |
(cherry picked from commit 4bb2ad4c48c07d267c98f5443e0984a5e1ef7209)
|
| |
|
|
|
|
|
| |
(cherry picked from commit 7604dad6da718751ad1f04bae1c839e87a1f8651)
(cherry picked from commit 5868a00ce71d85b6063489909b5ae79bc7369338)
|
|
|
|
|
|
| |
section on the primary shard
(cherry picked from commit eb81b49551d3fa7763c1a917bf210e497ef5bab7)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
aggregates.
(cherry picked from commit 7c4676ef0e8e47cf79e10b81f7661f8fbea82cb0)
|
|
|
|
| |
(cherry picked from commit 5ed5b857aaf2e2fbf443588e9b4cbb359fbd1f4d)
|
|
|
|
| |
Speeds up transition from primary drain mode to a writeable primary.
|
|
|
|
|
|
| |
not selected to be installed
(cherry picked from commit a56d4030fc278b40a320e45422f7ee8e4eaecc34)
|
|
|
|
|
|
|
| |
SERVER-43867 Move check_log inside src/mongo/shell/
(cherry picked from commit 7c42573b96ecfa43fbf76aa01cd659ee00fc6103)
(cherry picked from commit 9e69da32cea83fc45724213215a8de40d2635f45)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
metadata for cases that actually need to do filtering
This is a partial cherry-pick from 851dad7902d6bb8c3ed25f99f565a2e2c8c8bc47, adapted for the 4.0 branch.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
rollback-via-refetch
create mode 100644 jstests/replsets/rollback_via_refetch_update_rollback_id_before_oplog_truncation.js
(cherry picked from commit 04a2c9acc7ca061fb86736b377b897b11f6c7c48)
|
|
|
|
|
|
| |
'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.
|
|
|
|
| |
(cherry picked from commit 883b10b38ddd7aa5b9a197688141ebf387292a07)
|
|
|
|
|
|
| |
Reverted a5cbd93aea SERVER-32935 add characterization test for exception handling in oplog application loop
(cherry picked from commit 89a6d7bc3a0126cf8bfd177ad65b233181641175)
|
|
|
|
| |
commitTransaction
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
replica_sets_kill_secondaries_jscore_passthrough
(cherry picked from commit 12782dd756988d11b296cb5298ab74ea6ce8a444)
|
|
|
|
| |
"votes: 0" on the shard secondaries
|
|
|
|
|
|
| |
return_partial_shards_down.js
(cherry picked from commit d9a68d2c084bfed60527aa9aa29e2a843b97e9c2)
|
|
|
|
| |
(cherry picked from commit 98042804dff69afac74a7e2681efc0d00d207f2c)
|
|
|
|
|
| |
(cherry picked from commit e594e572c3d1b30948058523b629185c1ef94f14)
(cherry picked from commit 37bdcc9339dab2d1a9d7c4825822cae33f25296d)
|
|
|
|
|
|
|
|
| |
chaining is disabled.
(cherry picked from commit 319757ebb72611fb91044a2a81d1b77a6f3729c1)
SERVER-46050 Use getLastAppliedOpTime rather than getHeartbeatAppliedOpTime for checking primary's position.
|
| |
|
|
|
|
|
|
| |
election_candidate_and_participant_metrics.js
(cherry picked from commit f6622508476deda1bbee51247a4ac6118f121440)
|
| |
|
|
|
|
| |
(cherry picked from commit 897ebf0eb55ffc68ef4c09aefc43a48bca82df3d)
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
| |
(cherry picked from commit d4a93cea2eee5d2823d7a4d0224db06b4cd15b50)
|
|
|
|
|
|
| |
master"
This reverts commit 0363c1d062483022c7c1d2f2357edee3713073ca.
|
|
|
|
|
|
| |
an 'UNKNOWN' filtering metadata state"
This reverts commit e4e052a10484cf2cc44c62c377db4ece8162820a.
|
|
|
|
|
|
| |
CollectionShardingState::getMetadata into three methods"
This reverts commit a414e4ceafb45dc6ebf4daeb9198f0a7f3fb189c.
|
|
|
|
|
|
| |
filtering metadata for cases that actually need to do filtering"
This reverts commit fe4ced8f98d731883e5a4511d434716629e457a8.
|
|
|
|
|
|
| |
ShardingState::needCollectionMetadata under OperationShardingState"
This reverts commit 1a01c53df8f7c1e016c0ccbc38b77f6b3508bf65.
|
|
|
|
|
|
| |
sharded""
This reverts commit f2eee7f4879a0dda72b281c8d1d25f2afc4c5eb7.
|
|
|
|
| |
This reverts commit 41981ad8d67b3fc95da21506751cc5d284e724e1.
|
|
|
|
| |
(cherry picked from commit 9e27158084512a69c66421c951456dab9da768aa)
|
|
|
|
|
|
| |
more than one round
(cherry picked from commit 7e7a45333cbab5ded49543ee2b09611f77792a51)
|
|
|
|
|
|
| |
condition.
(cherry picked from commit c0654eacb16ed1ff98d3d7bbf8a9a949a291a9d1)
|
| |
|
| |
|
|
|
|
|
|
| |
'hashed_index_bad_keys_cleanup.js'
(cherry picked from commit 5ebed8698873294ec0dc98395787d3caafa8b6af)
|
|
|
|
|
| |
(cherry picked from commit 7604dad6da718751ad1f04bae1c839e87a1f8651)
(cherry picked from commit 5868a00ce71d85b6063489909b5ae79bc7369338)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
metadata for cases that actually need to do filtering
This is a partial cherry-pick from 851dad7902d6bb8c3ed25f99f565a2e2c8c8bc47, adapted for the 4.0 branch.
|