Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-40791 Track multi-statement transaction operations for migrations at ↵ | Blake Oler | 2019-06-20 | 1 | -0/+5 |
| | | | | commit time | ||||
* | Revert "SERVER-40791 Track multi-statement transaction operations for ↵ | Blake Oler | 2019-06-13 | 1 | -5/+0 |
| | | | | | | migrations at commit time" This reverts commit dfa8658c18142c560447c7bf6f34a6f788593d28. | ||||
* | SERVER-40791 Track multi-statement transaction operations for migrations at ↵ | Blake Oler | 2019-06-12 | 1 | -0/+5 |
| | | | | commit time | ||||
* | SERVER-40357 expand all calls to MONGO_DISALLOW_COPYING | Billy Donahue | 2019-03-28 | 1 | -2/+2 |
| | | | | | | | | | | | produced by: hits="$(git grep -n MONGO_DISALLOW_COPYING | cut -d: -f1 )" for f in "$hits"; do sed -i.orig ' s/^\( *\)MONGO_DISALLOW_COPYING(\(.*\));/\1\2(const \2\&) = delete;\n\1\2\& operator=(const \2\&) = delete;/; ' $f done | ||||
* | SERVER-40264 Change MigrationChunkCloner to be a shared pointer to ↵ | Blake Oler | 2019-03-25 | 1 | -7/+7 |
| | | | | synchronize object lifetime across threads | ||||
* | 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-38473 Create DatabaseShardingStateLock to ensure concurrency around ↵ | Blake Oler | 2019-02-05 | 1 | -1/+1 |
| | | | | DatabaseShardingState usage | ||||
* | SERVER-38284 Create concurrency lock for CollectionShardingRuntime | Blake Oler | 2018-12-28 | 1 | -4/+6 |
| | |||||
* | SERVER-32198 Split CollectionShardingState::getMetadata into three methods | Kaloian Manassiev | 2018-11-14 | 1 | -0/+2 |
| | | | | | | | | | | | | | 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 | -14/+16 |
| | |||||
* | SERVER-29908 Move CollectionShardingState under sharding_api_d | Kaloian Manassiev | 2018-07-27 | 1 | -4/+4 |
| | |||||
* | SERVER-35723 Make the collection critical section into an RAII class | jannaerin | 2018-06-28 | 1 | -0/+2 |
| | |||||
* | SERVER-29908 Move OpObserver and MigrationSourceManager logic out of ↵ | Andy Schwerin | 2018-04-23 | 1 | -0/+5 |
| | | | | | | | | CollectionShardingState. Makes MigrationSourceManager a decoration on CollectionShardingState, not a member and moves the op observer behavior from CollectionShardingState to free functions in shard_server_op_observer.h/cpp. | ||||
* | SERVER-29908 Move the migration critical section out of MigrationSourceManager | Kaloian Manassiev | 2018-03-13 | 1 | -25/+1 |
| | |||||
* | SERVER-31979 Include chunk migration stats in `moveChunk.commit` changelog ↵ | jannaerin | 2018-02-05 | 1 | -0/+3 |
| | | | | entries | ||||
* | SERVER-32901 Consolidate sharding libraries | Kaloian Manassiev | 2018-01-29 | 1 | -1/+1 |
| | | | | | Also gets rid of most usages of the std::string variant of CollectionShardingState::get. | ||||
* | SERVER-28670 Add sharding CatalogCache and donor metrics to serverStatus | Kaloian Manassiev | 2018-01-24 | 1 | -2/+10 |
| | | | | | Includes metrics for refresh, clone and migration critical section duration. | ||||
* | SERVER-31911 make UUID constructor private | Geert Bosch | 2018-01-05 | 1 | -1/+3 |
| | |||||
* | SERVER-31056 Remove all usages of the ScopedCollectionMetadata default ↵ | Kaloian Manassiev | 2017-12-05 | 1 | -6/+4 |
| | | | | | | | constructor With this commit, only the MetadataManager is allowed to instantiate empty ScopedCollectionMetadata objects. | ||||
* | SERVER-31056 Remove usages of ScopedCollectionMetadata default constructor | Kaloian Manassiev | 2017-12-04 | 1 | -11/+8 |
| | |||||
* | SERVER-31069 Stop converting SendStaleConfig to RecvStaleConfig | Mathias Stearn | 2017-09-13 | 1 | -1/+1 |
| | |||||
* | SERVER-29961 Close change notification cursors when a chunk migrates to a ↵ | Siyuan Zhou | 2017-09-13 | 1 | -0/+4 |
| | | | | new shard | ||||
* | SERVER-27597 Delay blocking read operations during the migration critical ↵ | Kaloian Manassiev | 2017-06-13 | 1 | -4/+12 |
| | | | | section | ||||
* | SERVER-27938 Rename all OperationContext variables to opCtx | Maria van Keulen | 2017-03-07 | 1 | -8/+8 |
| | | | | | | 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. | ||||
* | SERVER-22657 Make MigrationChunkClonerSourceLegacy not do host resolution | Kaloian Manassiev | 2016-11-11 | 1 | -1/+10 |
| | | | | | | No functional changes, just a cleanup to move the resolution of the recipient shard's primary out of MigrationChunkClonerSourceLegacy in order to make it simpler for unit-testing. | ||||
* | SERVER-26593 decrement usage counter in ScopedCollectionMetadata's move ↵ | Esha Maharishi | 2016-10-14 | 1 | -4/+2 |
| | | | | constructor | ||||
* | SERVER-26471 Always incrementally refresh metadata after committing chunk ↵ | Kaloian Manassiev | 2016-10-07 | 1 | -4/+13 |
| | | | | | | migration Also introduces a failpoint and js test to exercise the race condition. | ||||
* | SERVER-22671 adding migration status to serverStatus' sharding section | Dianna Hohensee | 2016-08-24 | 1 | -0/+7 |
| | |||||
* | SERVER-24415 Replace instances of shared_ptr<CollectionMetadata> with ↵ | Leon Zaruvinsky | 2016-07-07 | 1 | -7/+8 |
| | | | | ScopedCollectionMetadata | ||||
* | SERVER-24479 Make 'Notification' class be able to return a value | Kaloian Manassiev | 2016-06-10 | 1 | -40/+4 |
| | |||||
* | SERVER-22659 removing _uncommittedMetadata local variable | Dianna Hohensee | 2016-05-18 | 1 | -4/+0 |
| | |||||
* | SERVER-22656 Componentize MigrationSourceManager | Kaloian Manassiev | 2016-03-23 | 1 | -116/+130 |
| | | | | | | | This change moves the entire chunk migration state machine to be driven by the MigrationSourceManager and abstracts the cloning logic behind an interface called MigrationChunkClonerSource with a default legacy implementation, which uses the existing _migrateClone/_transferMods commands. | ||||
* | SERVER-22656 Use RAII classes to enter migration | Kaloian Manassiev | 2016-03-18 | 1 | -0/+5 |
| | | | | | | | | | | Adds a RAII-style classes to put a shard into migration mode and acquire distributed lock and adds means to register the migration on the global sharding state. Removes references to the global migration source manager from everywhere but the migration code itself. All others will be referencing it from the collection. | ||||
* | SERVER-22997 Unify wait for migrate critical section and metadata refresh | Kaloian Manassiev | 2016-03-16 | 1 | -13/+40 |
| | | | | | | | | This change gets rid of commands explicitly waiting for critical section establishment and instead makes all operations when they encounter stale version to install a wait object on the OperationContext, which can be used to wait for critical section outside of lock. It also makes refresh to happen outside of lock. | ||||
* | SERVER-22359 Move op observer hooks to CollectionShardingState | Kaloian Manassiev | 2016-03-07 | 1 | -12/+3 |
| | | | | | | | | Use the CollectionShardingState for notifications from the oplog observer instead of calling into the global ShardingState object. Also gets rid of the threading through of the fromMigrate flags down to the sharding state. | ||||
* | SERVER-20290 Introduce migration session id | Dianna Hohensee | 2016-02-02 | 1 | -5/+12 |
| | |||||
* | SERVER-21945 adding testing coverage for inserts/updates during chunk migration | Dianna Hohensee | 2016-01-20 | 1 | -1/+1 |
| | |||||
* | SERVER-22057 refactor OpObserver::onUpdate and ↵ | Dianna Hohensee | 2016-01-15 | 1 | -4/+4 |
| | | | | MigrationSourceManager::logUpdateOp to directly take the updated document | ||||
* | SERVER-21899 MigrationSourceManager::logOp refactor | Dianna Hohensee | 2016-01-06 | 1 | -6/+29 |
| | |||||
* | SERVER-21678 setting fromMigrate flag for deletes in oplog | Dianna Hohensee | 2016-01-04 | 1 | -0/+4 |
| | |||||
* | SERVER-21382 fixing sharding migration to transfer only document deletions ↵ | Dianna Hohensee | 2015-12-22 | 1 | -0/+2 |
| | | | | relevant to the chunk being migrated, not every deletion | ||||
* | SERVER-19855 Do not perform shard version checking where not necessary | Spencer T Brody | 2015-08-25 | 1 | -2/+3 |
| | | | | This reverts commit 045cd1070cae1e7827255850c2fe35194e48b24e. | ||||
* | Revert "SERVER-19855 Do not perform shard version checking where not necessary" | Benety Goh | 2015-08-21 | 1 | -3/+2 |
| | | | | This reverts commit 31716d2ae526d82d7d36464f6c9fae8b9f38542f. | ||||
* | SERVER-19855 Do not perform shard version checking where not necessary | Kaloian Manassiev | 2015-08-21 | 1 | -2/+3 |
| | | | | | | | | | | | The code in RangeDeleter and sharding migration and split uses AutoGetCollectionForRead, which has the side effect of checking for shard version, based on the context. This causes problems in the cases where we are transmitting shard version information as part of the context, in particular during the migration cases. This change gets rid of these checks and replaces them with plain lock retrieval. | ||||
* | SERVER-18084 Modularize chunk migration state machine | Kaloian Manassiev | 2015-07-14 | 1 | -0/+180 |
* Move the sharding migration destination (receiving side) management to a separate source file * Move the destination thread management to be owned by the destination manager * Move the sharding migration source (donor side) management to a separate source file * Remove the medianKey command since it is noop and not used anywhere No migration logic changes. |