Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-60142 Fix MigrationDestinationManager's check for overlapping ↵ | Jordi Serra Torrens | 2021-09-23 | 1 | -1/+1 |
| | | | | rangeDeletion tasks | ||||
* | SERVER-55429 Add timeout to migrations when waiting for range deletions | Marcos José Grillo Ramirez | 2021-06-29 | 1 | -1/+2 |
| | | | | ... on intersecting ranges | ||||
* | SERVER-47978 Make cleanupOrphaned command use onShardVersionMismatch with ↵ | Kaloian Manassiev | 2020-06-04 | 1 | -1/+1 |
| | | | | boost::none | ||||
* | SERVER-47701 Allow CRUD and DDL commands on shards when connected to the ↵ | Marcos José Grillo Ramírez | 2020-05-19 | 1 | -6/+6 |
| | | | | primary directly instead of the router | ||||
* | SERVER-47992 Make disableResumableRangeDeleter just prevent ranges from ↵ | Esha Maharishi | 2020-05-18 | 1 | -206/+70 |
| | | | | being submitted for deletio | ||||
* | SERVER-48190 Acquire CSRLock in shared mode before submitting ranges for ↵ | Matthew Saltz | 2020-05-13 | 1 | -0/+2 |
| | | | | deletion | ||||
* | SERVER-47913 Redact sharding messages in cleanupOrphanedData | Dan Pasette | 2020-05-11 | 1 | -2/+2 |
| | |||||
* | SERVER-47735 change mongo source over to logv2 | Billy Donahue | 2020-04-26 | 1 | -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 command | Esha Maharishi | 2020-04-22 | 1 | -13/+9 |
| | |||||
* | SERVER-46323 Update FCV constants throughout server code following 4.4 branch | Ali Mir | 2020-04-22 | 1 | -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 guide | Randolph Tan | 2020-03-25 | 1 | -30/+42 |
| | |||||
* | SERVER-44160 Make cleanupOrphaned just wait for all range deletion tasks on ↵ | Esha Maharishi | 2020-03-18 | 1 | -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 Hirschhorn | 2020-03-11 | 1 | -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 getCurrentMetadata | Tommaso Tocci | 2020-03-03 | 1 | -5/+5 |
| | | | | to getCollectionDescription and change the return type | ||||
* | SERVER-45567 removing util/log.h where I can | Gabriel Russell | 2020-02-21 | 1 | -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 logging | Gabriel Russell | 2020-02-13 | 1 | -10/+21 |
| | |||||
* | SERVER-45024 Integrate refactored range deletion functionality and remove ↵ | Matthew Saltz | 2020-01-15 | 1 | -3/+3 |
| | | | | CollectionRangeDeleter | ||||
* | SERVER-42193 Ensure that all existing orphaned documents are eventually ↵ | Alex Taskov | 2019-12-11 | 1 | -20/+14 |
| | | | | cleaned up after upgrade | ||||
* | SERVER-41772 Apply clang-format 7.0.1 to the codebase | clang-format-7.0.1 | 2019-07-27 | 1 | -3/+3 |
| | |||||
* | SERVER-39495 Move ShardingState::needCollectionMetadata under ↵ | Kaloian Manassiev | 2019-02-27 | 1 | -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++ files | Billy Donahue | 2019-02-13 | 1 | -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 methods | Kaloian Manassiev | 2018-11-14 | 1 | -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 license | Ramon Fernandez | 2018-10-22 | 1 | -8/+10 |
| | |||||
* | SERVER-37563 Remove all usages of getGlobalAuthorizationManager | Kaloian Manassiev | 2018-10-12 | 1 | -1/+0 |
| | |||||
* | SERVER-29908 Move CollectionShardingState under sharding_api_d | Kaloian Manassiev | 2018-07-27 | 1 | -4/+5 |
| | |||||
* | SERVER-36054 Remove ScopedCollectionMetadata's operator bool | Kaloian Manassiev | 2018-07-11 | 1 | -1/+1 |
| | |||||
* | SERVER-33954 Modified getCollectionRoutingInfoWithRefresh to refresh twice ↵ | Matthew Saltz | 2018-06-05 | 1 | -1/+1 |
| | | | | if the first refresh is not performed by its own thread | ||||
* | SERVER-33523 Add timestamp support to CollectionMetadata | Martin Neupauer | 2018-04-05 | 1 | -1/+1 |
| | |||||
* | SERVER-33336 Snapshot reads should not take MODE_IX locks when autocommit=true | Tess Avitabile | 2018-03-02 | 1 | -1/+1 |
| | |||||
* | SERVER-29908 Move stale shard version handling out of ShardingState | Kaloian Manassiev | 2018-02-21 | 1 | -2/+2 |
| | |||||
* | SERVER-33286 Provide service context in Command::secondaryAllowed to allow ↵ | Henrik Edin | 2018-02-14 | 1 | -1/+1 |
| | | | | getting interfaces without using global get function. | ||||
* | SERVER-33136 const-ify the command auth accessors | Billy Donahue | 2018-02-06 | 1 | -1/+1 |
| | |||||
* | SERVER-32958 unrevert "SERVER-32958 slaveOk,slaveOverrideOk replacement" | Billy Donahue | 2018-01-31 | 1 | -2/+2 |
| | | | | | | w/fix: update a new command to secondaryAllowed This reverts commit d75cb425fbc3cf4b569eb1722c3f8abec45654a2. | ||||
* | Revert "SERVER-32958 slaveOk,slaveOverrideOk replacement" | Judah Schvimer | 2018-01-31 | 1 | -2/+2 |
| | | | | This reverts commit be24b0323d3f2d424d9e22337f4221d39001ac31. | ||||
* | SERVER-32958 slaveOk,slaveOverrideOk replacement | Billy Donahue | 2018-01-31 | 1 | -2/+2 |
| | | | | declare read_preference dep. update service_entry_opint_embedded | ||||
* | SERVER-32901 Consolidate sharding libraries | Kaloian Manassiev | 2018-01-29 | 1 | -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 commands | Kaloian Manassiev | 2017-12-22 | 1 | -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 libraries | Kaloian Manassiev | 2017-12-16 | 1 | -4/+1 |
| | |||||
* | SERVER-31056 Remove the KeyRange type from non-test code | Kaloian Manassiev | 2017-12-06 | 1 | -29/+25 |
| | |||||
* | SERVER-29731 don't pass cmdobj to localHostOnlyIfNoAuth() | Mathias Stearn | 2017-07-13 | 1 | -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 api | Mathias Stearn | 2017-07-13 | 1 | -7/+7 |
| | | | | It is now only used by commands deriving from ErrmsgCommandDeprecated. | ||||
* | SERVER-29731 convert all direct subclasses of Command to BasicCommand | Mathias Stearn | 2017-07-13 | 1 | -2/+2 |
| | |||||
* | SERVER-29405 delay deleting orphaned shard chunks | Nathan Myers | 2017-06-30 | 1 | -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 Stearn | 2017-05-17 | 1 | -1/+1 |
| | |||||
* | SERVER-28884 Better range deletion event tracking | Nathan Myers | 2017-05-17 | 1 | -11/+15 |
| | |||||
* | SERVER-27760 Delete old range deleter sources | Nathan Myers | 2017-05-15 | 1 | -1/+0 |
| | |||||
* | SERVER-27921 New Range Deleter | Nathan Myers | 2017-04-20 | 1 | -49/+46 |
| | |||||
* | SERVER-28701 Remove queryOptions argument from Command::run() | Mathias Stearn | 2017-04-12 | 1 | -1/+0 |
| | |||||
* | SERVER-27681 Use CatalogCache to load metadata on shards | Kaloian Manassiev | 2017-03-19 | 1 | -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 opCtx | Maria van Keulen | 2017-03-07 | 1 | -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. |