summaryrefslogtreecommitdiff
path: root/src/mongo/db/s
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-45869 automatically converted structured loggingGabriel Russell2020-02-1351-501/+1122
|
* SERVER-45319 Add unit tests for CollectionShardingRuntimeMatthew Saltz2020-02-135-16/+352
|
* SERVER-44858 Implement speculative sasl authSara Golemon2020-02-122-0/+43
| | | | | | | | | create mode 100644 jstests/auth/speculative-auth-replset.js create mode 100644 jstests/auth/speculative-sasl-start.js create mode 100644 jstests/ssl/speculative-auth-replset.js create mode 100644 jstests/ssl/speculative-authenticate.js create mode 100644 src/mongo/db/auth/sasl_commands.h create mode 100644 src/mongo/db/s/balancer/core_options_stub.cpp
* SERVER-45892 Index operations from 4.2 mongos shouldn't abort migrationsJack Mulrow2020-02-122-7/+22
|
* SERVER-45900 Check for unsharded collection when submitting range deletion taskJack Mulrow2020-02-122-8/+86
|
* SERVER-42009 Forbid creation of collections with namespace names containing a $Geert Bosch2020-02-111-2/+1
|
* SERVER-45577 Submit range deletion tasks on fixed executorJack Mulrow2020-02-114-31/+210
|
* SERVER-45904 Create a standalone collection sharding state factoryMarcos José Grillo Ramírez2020-02-1110-61/+268
| | | | | | create mode 100644 src/mongo/db/s/collection_sharding_state_factory_shard.h create mode 100644 src/mongo/db/s/collection_sharding_state_factory_standalone.cpp create mode 100644 src/mongo/db/s/collection_sharding_state_factory_standalone.h
* SERVER-45338 Make moveChunk robust to maxTimeMS expiring (fix auth after revert)Matthew Saltz2020-02-101-22/+65
|
* SERVER-45806 Record pre-images on updates and deletes when recordPreImage is ↵Jonathan Reams2020-02-102-6/+10
| | | | enabled
* Revert "SERVER-44771 Introduce 2nd CatalogCache for filtering only"William Schultz2020-02-089-151/+19
| | | | This reverts commit 3473d09fa9b5e418e119941b01c88863744689cc.
* SERVER-44771 Introduce 2nd CatalogCache for filtering onlyTommaso Tocci2020-02-079-19/+151
| | | | | | Only on ShardServer (not ReadOnly) use a second catalog cache for filtering only in order to allow operations in transactions to safely consult the CatalogCache.
* SERVER-46016 Guard calls to _coordinator in MigrationSourceManager by ↵Matthew Saltz2020-02-071-5/+5
| | | | checking its state
* SERVER-45917 Make waitForDelete wait for deletion to be scheduled before ↵Jack Mulrow2020-02-066-20/+60
| | | | waiting for clean
* SERVER-46005 Remove server code related to Track Unsharded Collections that ↵Esha Maharishi2020-02-068-855/+1
| | | | is dead code in v4.4
* SERVER-45389 Add metrics tracking how often shards have inconsistent indexesCheahuychou Mao2020-02-064-1/+315
| | | | | | | create mode 100644 jstests/noPassthrough/sharded_index_consistency_metrics.js create mode 100644 src/mongo/db/commands/sharded_index_consistency_server_status.cpp create mode 100644 src/mongo/db/s/periodic_sharded_index_consistency_checker.cpp create mode 100644 src/mongo/db/s/periodic_sharded_index_consistency_checker.h
* Revert "SERVER-44771 Introduce 2nd CatalogCache for filtering only"Tommaso Tocci2020-02-069-151/+40
| | | | This reverts commit 84bdc9478401355656ab7eaec745dbae2e4294cb.
* SERVER-44771 Introduce 2nd CatalogCache for filtering onlyTommaso Tocci2020-02-069-40/+151
| | | | | | Only on ShardServer (not ReadOnly) use a second catalog cache for filtering only in order to allow operations in transactions to safely consult the CatalogCache.
* Revert "SERVER-45338 Make moveChunk robust to maxTimeMS expiring"Matthew Saltz2020-02-051-61/+22
| | | | | | This reverts commit 2985a71befe421902b5d15e9567e3b449e65ecdd. delete mode 100644 jstests/sharding/move_chunk_respects_maxtimems.js
* SERVER-45901 Make moveChunk robust to being killOp'd after commit has been ↵Esha Maharishi2020-02-051-21/+88
| | | | sent to the config but before the node has found out the commit decision
* SERVER-45838 Rename/restructure mongo_process_interface classes and filesCharlie Swanson2020-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | create mode 100644 src/mongo/db/pipeline/process_interface/SConscript rename src/mongo/db/pipeline/{process_interface_standalone.cpp => process_interface/common_mongod_process_interface.cpp} (72%) rename src/mongo/db/pipeline/{process_interface_standalone.h => process_interface/common_mongod_process_interface.h} (69%) rename src/mongo/db/pipeline/{mongo_process_common.cpp => process_interface/common_process_interface.cpp} (91%) rename src/mongo/db/pipeline/{mongo_process_common.h => process_interface/common_process_interface.h} (91%) rename src/mongo/db/pipeline/{ => process_interface}/mongo_process_interface.cpp (96%) rename src/mongo/db/pipeline/{ => process_interface}/mongo_process_interface.h (100%) rename src/mongo/db/pipeline/{process_interface_factory_mongod.cpp => process_interface/mongod_process_interface_factory.cpp} (84%) rename src/mongo/db/pipeline/{ => process_interface}/mongos_process_interface.cpp (93%) rename src/mongo/db/pipeline/{ => process_interface}/mongos_process_interface.h (97%) rename src/mongo/db/pipeline/{ => process_interface}/mongos_process_interface_test.cpp (84%) create mode 100644 src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.cpp create mode 100644 src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.h rename src/mongo/db/pipeline/{process_interface_shardsvr.cpp => process_interface/shardsvr_process_interface.cpp} (88%) rename src/mongo/db/pipeline/{process_interface_shardsvr.h => process_interface/shardsvr_process_interface.h} (95%) rename src/mongo/db/pipeline/{process_interface_standalone_test.cpp => process_interface/shardsvr_process_interface_test.cpp} (95%) rename src/mongo/db/pipeline/{stub_mongo_process_interface_lookup_single_document.cpp => process_interface/stub_lookup_single_document_process_interface.cpp} (89%) rename src/mongo/db/pipeline/{stub_mongo_process_interface_lookup_single_document.h => process_interface/stub_lookup_single_document_process_interface.h} (93%) rename src/mongo/db/pipeline/{ => process_interface}/stub_mongo_process_interface.h (99%)
* SERVER-45338 Make moveChunk robust to maxTimeMS expiringMatthew Saltz2020-02-051-22/+61
| | | | create mode 100644 jstests/sharding/move_chunk_respects_maxtimems.js
* SERVER-45665 Make JournalFlusher flush on command and waitForWriteConcern ↵Dianna Hohensee2020-02-051-1/+1
| | | | | | asynchronously call waitUntilDurable through the JournalFlusher. Making waitForWriteConcern asynchronously call waitUntilDurable is a performance gain.
* SERVER-45740 submitRangeDeletionTask should delete range deletion task if ↵Esha Maharishi2020-02-052-1/+33
| | | | filtering metadata is still unknown after refresh
* SERVER-45850 Remove mutex guards on read access for _shardId and _clusterId ↵Blake Oler2020-02-052-8/+13
| | | | in ShardingState
* SERVER-45339 Make MigrationSourceManager send _recvChunkStart to recipient ↵Alex Taskov2020-02-0411-27/+133
| | | | shard as a retryable write
* SERVER-45778 Rename getOrphanFilter to getOwnershipFilter and change the ↵Marcos José Grillo Ramírez2020-02-037-46/+104
| | | | return type
* SERVER-45752 opCtx interruption during migration critical section commit ↵Esha Maharishi2020-01-311-63/+2
| | | | triggers fassert in FCV 4.2
* SERVER-45913 Suspend range deletion for racy MetadataManager unit testsMatthew Saltz2020-01-311-1/+11
|
* SERVER-45914 Make DEATH_TEST in range_deletion_util_test wait for futureMatthew Saltz2020-01-311-0/+1
|
* SERVER-45886 Lock the client in abortDueToConflictingIndexOperation before ↵Cheahuychou Mao2020-01-301-0/+1
| | | | marking the operation context as killed
* SERVER-45707 Test that range deletion tasks are eventually deleted even if ↵Cheahuychou Mao2020-01-301-0/+4
| | | | | | collection is dropped before migration coordination is resumed create mode 100644 jstests/sharding/delete_range_deletion_tasks_on_stepup_after_drop_collection.js
* SERVER-45743 Add a flag to allow opting out of using the Resumable RangeDeleterAlex Taskov2020-01-307-27/+46
|
* SERVER-45800: Set client lastOp to max(prepareOpTime, lastAppliedOpTime, ↵Lingzhi Deng2020-01-301-10/+9
| | | | | | current lastOp) in PrepareTransactionCmd create mode 100644 jstests/replsets/retrying_prepared_transaction_does_not_block_stepdown.js
* SERVER-45499 Remove multiversion_incompatible flag from ↵Esha Maharishi2020-01-281-14/+10
| | | | merge_with_drop_shard.js and convert_to_and_from_sharded.js after disableWritingPendingRangeDeletionEntries failpoint removed
* SERVER-45762 Also use AutoGetDb to take DBLock and higher-level locksEsha Maharishi2020-01-251-0/+1
|
* SERVER-45762 Take collection lock before calling ↵Esha Maharishi2020-01-241-0/+1
| | | | CollectionShardingRuntime::setFilteringMetadata in range_deletion_util_test.cpp
* SERVER-45749 Tests in range_deletion_util_test.cpp that insert into ↵Esha Maharishi2020-01-242-4/+31
| | | | config.rangeDeletions should set the collection's filtering metadata before the insert
* SERVER-44162 Resume coordinating active migrations on stepupEsha Maharishi2020-01-246-69/+236
|
* SERVER-45441 submitRangeDeletionTask should force a refresh if the metadata ↵Esha Maharishi2020-01-234-109/+160
| | | | is unknown and delete the range deletion task if the metadata is still unknown or UUID doesn't match after the refresh
* SERVER-45220 Complete TODO listed in SERVER-44716Esha Maharishi2020-01-221-2/+0
|
* SERVER-43832 Expose readConcern and writeConcern defaults in serverStatusJack Mulrow2020-01-212-0/+8
|
* SERVER-45583 Unittests are using logv2.Henrik Edin2020-01-211-28/+33
| | | | Capture log system uses logv2, tests can handle converted log statements.
* SERVER-45625 MigrationSourceManager should only attempt to set a decision on ↵Esha Maharishi2020-01-211-1/+2
| | | | its MigrationCoordinator if its MigrationCoordinator was initialized
* SERVER-45249 Make recipient wait for orphan cleanup before cloning indexesCheahuychou Mao2020-01-208-120/+165
|
* SERVER-45647 Remove lsid and txnNumber from MigrationCoordinator docAlex Taskov2020-01-186-58/+16
|
* SERVER-43918 Upgrade/downgrade process for compound hashed shard keysbanarun2020-01-171-0/+8
| | | | create mode 100644 jstests/multiVersion/compound_hashed_shard_key.js
* SERVER-45024 Integrate refactored range deletion functionality and remove ↵Matthew Saltz2020-01-1522-1560/+236
| | | | CollectionRangeDeleter
* SERVER-39364: Get the last oplog entry from the storage engine for ↵Lingzhi Deng2020-01-152-4/+6
| | | | setLastOpToSystemLastOpTime
* SERVER-45179 Add the FCV 4.4 behavior to the MigrationDestinationManagerAlex Taskov2020-01-1411-85/+194
|