summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/cleanup_orphaned_cmd.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-60142 Fix MigrationDestinationManager's check for overlapping ↵Jordi Serra Torrens2021-09-231-1/+1
| | | | rangeDeletion tasks
* SERVER-55429 Add timeout to migrations when waiting for range deletionsMarcos José Grillo Ramirez2021-06-291-1/+2
| | | | ... on intersecting ranges
* SERVER-47978 Make cleanupOrphaned command use onShardVersionMismatch with ↵Kaloian Manassiev2020-06-041-1/+1
| | | | boost::none
* SERVER-47701 Allow CRUD and DDL commands on shards when connected to the ↵Marcos José Grillo Ramírez2020-05-191-6/+6
| | | | primary directly instead of the router
* SERVER-47992 Make disableResumableRangeDeleter just prevent ranges from ↵Esha Maharishi2020-05-181-206/+70
| | | | being submitted for deletio
* SERVER-48190 Acquire CSRLock in shared mode before submitting ranges for ↵Matthew Saltz2020-05-131-0/+2
| | | | deletion
* SERVER-47913 Redact sharding messages in cleanupOrphanedDataDan Pasette2020-05-111-2/+2
|
* SERVER-47735 change mongo source over to logv2Billy Donahue2020-04-261-1/+1
| | | | | | - Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2::
* SERVER-47677 Clean up remaining references to FCV in cleanupOrphaned commandEsha Maharishi2020-04-221-13/+9
|
* SERVER-46323 Update FCV constants throughout server code following 4.4 branchAli Mir2020-04-221-9/+1
| | | | | | | | | | | | | | SERVER-46589 Update Execution-related generic upgrade/downgrade references SERVER-46587 Update Replication-related generic upgrade/downgrade references SERVER-46839 Update Sharding-related generic upgrade/downgrade references SERVER-46590 Update Query-related generic upgrade/downgrade references SERVER-46318 Bump wire protocol version for 4.6 SERVER-46313 Bump Powercycle FCV
* SERVER-46799 Update sharding log lines to adhere to LOGV2 style guideRandolph Tan2020-03-251-30/+42
|
* SERVER-44160 Make cleanupOrphaned just wait for all range deletion tasks on ↵Esha Maharishi2020-03-181-52/+159
| | | | the ns to finish in FCV 4.4 when 'disableResumableRangeDeleter' is false
* SERVER-46395 Ensure range deletion task document exists during deletion.Max Hirschhorn2020-03-111-1/+2
| | | | | | | | | | | | Changes the range deletion task to guarantee a batch of documents can only be removed while the corresponding range deletion task document exists. If the range deletion task document doesn't exist or a stepdown could lead to it not existing, then the range deletion task is abandoned. Changes the deletion of the range deletion task document to use the _id index of the config.rangeDeletions collection rather than being a collection scan.
* SERVER-45780 Rename getCurrentMetadataTommaso Tocci2020-03-031-5/+5
| | | | to getCollectionDescription and change the return type
* SERVER-45567 removing util/log.h where I canGabriel Russell2020-02-211-1/+0
| | | | | | | o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp
* SERVER-45869 automatically converted structured loggingGabriel Russell2020-02-131-10/+21
|
* SERVER-45024 Integrate refactored range deletion functionality and remove ↵Matthew Saltz2020-01-151-3/+3
| | | | CollectionRangeDeleter
* SERVER-42193 Ensure that all existing orphaned documents are eventually ↵Alex Taskov2019-12-111-20/+14
| | | | cleaned up after upgrade
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-3/+3
|
* SERVER-39495 Move ShardingState::needCollectionMetadata under ↵Kaloian Manassiev2019-02-271-7/+1
| | | | | | | | | 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.
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-32198 Split CollectionShardingState::getMetadata into three methodsKaloian Manassiev2018-11-141-3/+8
| | | | | | | | | | | | | 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.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-37563 Remove all usages of getGlobalAuthorizationManagerKaloian Manassiev2018-10-121-1/+0
|
* SERVER-29908 Move CollectionShardingState under sharding_api_dKaloian Manassiev2018-07-271-4/+5
|
* SERVER-36054 Remove ScopedCollectionMetadata's operator boolKaloian Manassiev2018-07-111-1/+1
|
* SERVER-33954 Modified getCollectionRoutingInfoWithRefresh to refresh twice ↵Matthew Saltz2018-06-051-1/+1
| | | | if the first refresh is not performed by its own thread
* SERVER-33523 Add timestamp support to CollectionMetadataMartin Neupauer2018-04-051-1/+1
|
* SERVER-33336 Snapshot reads should not take MODE_IX locks when autocommit=trueTess Avitabile2018-03-021-1/+1
|
* SERVER-29908 Move stale shard version handling out of ShardingStateKaloian Manassiev2018-02-211-2/+2
|
* SERVER-33286 Provide service context in Command::secondaryAllowed to allow ↵Henrik Edin2018-02-141-1/+1
| | | | getting interfaces without using global get function.
* SERVER-33136 const-ify the command auth accessorsBilly Donahue2018-02-061-1/+1
|
* SERVER-32958 unrevert "SERVER-32958 slaveOk,slaveOverrideOk replacement"Billy Donahue2018-01-311-2/+2
| | | | | | w/fix: update a new command to secondaryAllowed This reverts commit d75cb425fbc3cf4b569eb1722c3f8abec45654a2.
* Revert "SERVER-32958 slaveOk,slaveOverrideOk replacement"Judah Schvimer2018-01-311-2/+2
| | | | This reverts commit be24b0323d3f2d424d9e22337f4221d39001ac31.
* SERVER-32958 slaveOk,slaveOverrideOk replacementBilly Donahue2018-01-311-2/+2
| | | | declare read_preference dep. update service_entry_opint_embedded
* SERVER-32901 Consolidate sharding librariesKaloian Manassiev2018-01-291-2/+2
| | | | | Also gets rid of most usages of the std::string variant of CollectionShardingState::get.
* SERVER-28992 Cleanup and remove unused code from write commandsKaloian Manassiev2017-12-221-3/+3
| | | | | | | | No functional changes, just getting rid of some unnecessary overhead. * Get rid of the extra TargetedBatchSizeMap during write command processing * Do not use pointers in the write commands error tracking * Remove unused code from the commands parsing
* SERVER-29909 Remove circular dependency between db_raii and sharding librariesKaloian Manassiev2017-12-161-4/+1
|
* SERVER-31056 Remove the KeyRange type from non-test codeKaloian Manassiev2017-12-061-29/+25
|
* SERVER-29731 don't pass cmdobj to localHostOnlyIfNoAuth()Mathias Stearn2017-07-131-3/+0
| | | | | It wasn't used. If we need it in the future, it should probably use OpMsgRequest.
* SERVER-29731 get errmsg out of BasicCommand apiMathias Stearn2017-07-131-7/+7
| | | | It is now only used by commands deriving from ErrmsgCommandDeprecated.
* SERVER-29731 convert all direct subclasses of Command to BasicCommandMathias Stearn2017-07-131-2/+2
|
* SERVER-29405 delay deleting orphaned shard chunksNathan Myers2017-06-301-1/+1
| | | | | | | | | | | | | | When deleting the donor range after migrating a chunk off of a shard, the range deleter will schedule the deletion at some time in the future, according to a server parameter orphanCleanupDelaySecs, which defaults to 900, or 15 minutes. It does not delay range deletions preparatory to migrating a range in, and does not put off deleting the donor range if the moveChunk command has set the option _waitForDelete. The file jstests/sharding/write_commands_sharding_state.js had CR (0x0D) line endings, which made the patch fail lint. The substantive changes in the file were to add "_waitForDelete" options to the moveChunk commands.
* SERVER-29260 Make BSONObj argument to Command::run() const&Mathias Stearn2017-05-171-1/+1
|
* SERVER-28884 Better range deletion event trackingNathan Myers2017-05-171-11/+15
|
* SERVER-27760 Delete old range deleter sourcesNathan Myers2017-05-151-1/+0
|
* SERVER-27921 New Range DeleterNathan Myers2017-04-201-49/+46
|
* SERVER-28701 Remove queryOptions argument from Command::run()Mathias Stearn2017-04-121-1/+0
|
* SERVER-27681 Use CatalogCache to load metadata on shardsKaloian Manassiev2017-03-191-12/+3
| | | | | | | This change gets rid of the MetadataLoader in place of using the CatalogCache for loading chunk metadata on shards. This ensures that the same concurrency control and rate limiting applies on mongos and mongod and obviates the need for having different kinds of ChunkDiffer.
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-9/+9
| | | | | | This commit is an automated rename of all whole word instances of txn, _txn, and txnPtr to opCtx, _opCtx, and opCtxPtr, respectively in all .cpp and .h files in src/mongo.