| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
actually return the shard version
|
|
|
|
|
|
| |
create mode 100644 jstests/replsets/initial_sync_ambiguous_index.js
(cherry picked from commit 3423ca586b88566857f3fcdfeca1c6fdee7a0911)
|
| |
|
|
|
|
| |
(cherry picked from commit a222ef5e647ac527f7d4f8636bcacd6cc0ae6b8e)
|
|
|
|
|
|
| |
transactions only include the document key
(cherry picked from commit ed0c0365b4baf8939d39edb766c8ddbbc33187d3)
|
|
|
|
|
|
| |
rollback_after_enabling_majority_reads.js"
This reverts commit 1909cd159e4b0b3678513c8e3f83286051148b99.
|
|
|
|
| |
(cherry picked from commit 97e0731610f18576229c322c3a4186202c77c521)
|
|
|
|
| |
(cherry picked from commit 07fe606fcf78e668ee821a93af489f078323851a)
|
|
|
|
| |
rollback_after_enabling_majority_reads.js
|
| |
|
|
|
|
|
|
|
| |
(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)
|
|
|
|
|
|
| |
aggregates.
(cherry picked from commit 7c4676ef0e8e47cf79e10b81f7661f8fbea82cb0)
|
|
|
|
| |
(cherry picked from commit 5ed5b857aaf2e2fbf443588e9b4cbb359fbd1f4d)
|
|
|
|
| |
Speeds up transition from primary drain mode to a writeable primary.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
chaining is disabled.
(cherry picked from commit 319757ebb72611fb91044a2a81d1b77a6f3729c1)
SERVER-46050 Use getLastAppliedOpTime rather than getHeartbeatAppliedOpTime for checking primary's position.
|
|
|
|
| |
(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
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
in session_test
|
|
|
|
|
|
| |
infinite loop
(cherry picked from commit a028f3c1888ecb35cd99435658f875b0963ed2f7)
|
|
|
|
| |
(cherry picked from commit 5c52ffdd0af3a5033f2767c48def88447517e301)
|
|
|
|
|
|
| |
'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 521e56b407ac72bc69a97a24d1253f51a5b6e81b)
(cherry picked from commit a10d0a22d5d009d27664967181042933ec1bef36)
|
| |
|
| |
|
| |
|