summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_util.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-55392 Add a timestamp field to config.rangeDeletionsAntonio Fuschetto2021-05-311-0/+3
|
* SERVER-56525 Make thread pool for submitting range deletion tasks a ↵Pierlauro Sciarelli2021-05-281-24/+52
| | | | decoration on ServiceContext
* SERVER-55557 Range deletion of aborted migration can fail after a refine ↵Jordi Serra Torrens2021-05-281-1/+26
| | | | shard key
* SERVER-51708 submitRangeDeletionTask should handle RangeOverlapConflict errorjannaerin2021-04-291-45/+80
|
* SERVER-54975 Rename IDL parser classes to use CommandRequest and ↵Bernard Gorman2021-04-021-3/+3
| | | | CommandReply suffixes
* SERVER-50890 Improve failover management when completing migrationsMarcos José Grillo Ramírez2021-01-081-43/+36
|
* SERVER-52556 Versioned CollectionCatalog. Writes are performed using ↵Henrik Edin2020-11-131-4/+4
| | | | | | | copy-on-write. Internal mutexes when reading CollectionCatalog are removed, just one mutex for writes are needed. Lock-free reads helper AutoGetCollectionForReadLockFree stashes a CollectionCatalog consistent with snapshot on OperationContext
* SERVER-50984 Add CollectionPtr to replace usage of const Collection*Henrik Edin2020-09-261-1/+1
| | | | | | | | | | | | It implements a yieldable interface that is used to re-load the Collection pointer from the catalog after a yield that released locks. With lock-free reads and copy-on-write on Collection instances releasing locks without notifying an AutoGetCollection at a higher level may cause its pointers to dangle if a MODE_X writer installs a new Collection instance in the catalog. CollectionPtr should be passed by const reference so a yield can notify all the way up.
* SERVER-46202 Implement ShardRegistry on top of ReadThroughCacheKevin Pulo2020-09-161-5/+14
|
* Revert "SERVER-46202 Implement ShardRegistry on top of ReadThroughCache"Tommaso Tocci2020-09-151-14/+5
| | | | This reverts commit a8913858697363a26b06996f0821045b550bea27.
* SERVER-46202 Implement ShardRegistry on top of ReadThroughCacheTommaso Tocci2020-09-151-5/+14
|
* SERVER-50507 Avoid race conditions during recoverRefreshShardVersionPierlauro Sciarelli2020-09-041-7/+1
|
* SERVER-50217 change auth op observer to handle $v:1 and $v:2 updatesIan Boros2020-08-271-3/+5
| | | | This commit also removes an implicit constructor for write_ops::UpdateModification.
* SERVER-50344 Rename Client methods to clarify that they are about being ↵Spencer T Brody2020-08-251-5/+5
| | | | killed during stepdown
* SERVER-49921 Optimised persistence and recovery of the VectorClockKaloian Manassiev2020-08-171-5/+5
|
* SERVER-49192 Persist the VectorClock for configTime and topologyTime causal ↵Pierlauro Sciarelli2020-08-081-0/+6
| | | | consistency
* SERVER-50174 Make MigrationCoordinator recovery acquire the ↵Kaloian Manassiev2020-08-071-7/+24
| | | | MigrationBlockingGuard
* SERVER-49427 Delete pending_chunk.js and remove now-defunct code in the ↵Cheahuychou Mao2020-07-241-12/+0
| | | | MetadataManager
* SERVER-49508 Step up deadlock between migration recovery and prepared ↵Tommaso Tocci2020-07-241-2/+2
| | | | transaction
* SERVER-48641 SERVER-48689 Yield session in migration destination driver when ↵Jack Mulrow2020-07-161-2/+3
| | | | waiting on replication and session migration
* SERVER-49316 Move wait_for_majority_service to its own librarySpencer T Brody2020-07-071-1/+1
|
* SERVER-49151 Fix malformed LOGV2 and assertion IDsAmirsaman Memaripour2020-07-011-8/+8
|
* SERVER-48883 Range deletion recovery can invalidate migration recovery on ↵Pierlauro Sciarelli2020-06-191-54/+24
| | | | step up
* SERVER-47982 Change the shard version update procedure of the migration ↵Marcos José Grillo Ramírez2020-06-171-81/+55
| | | | source manager
* SERVER-47982 Remove refreshFilteringMetadataUntilSuccess from migration recoveryMarcos José Grillo Ramírez2020-06-161-17/+59
|
* SERVER-48394 Operations on views should not reach onShardVersionMismatchPierlauro Sciarelli2020-06-111-2/+3
|
* SERVER-47983 Ensure the shard version is stable before submitting range ↵Marcos José Grillo Ramírez2020-06-091-7/+8
| | | | deletion tasks
* SERVER-47985 Implement recovery of a shard's `shardVersion` before it is ↵Tommaso Tocci2020-06-031-145/+135
| | | | allowed to perform version checking
* SERVER-47701 Allow CRUD and DDL commands on shards when connected to the ↵Marcos José Grillo Ramírez2020-05-191-15/+17
| | | | primary directly instead of the router
* SERVER-47992 Make disableResumableRangeDeleter just prevent ranges from ↵Esha Maharishi2020-05-181-0/+8
| | | | being submitted for deletio
* SERVER-48198 Account for extended range bounds when recovering migration ↵Jack Mulrow2020-05-141-1/+44
| | | | decision
* SERVER-48190 Acquire CSRLock in shared mode before submitting ranges for ↵Matthew Saltz2020-05-131-38/+50
| | | | deletion
* SERVER-47600 Clear _receivingChunks on setFCV after metadata refreshGregory Noma2020-04-201-0/+9
|
* SERVER-47468 Remove public CollectionMetadata references from ↵Kaloian Manassiev2020-04-141-10/+18
| | | | | | | | | ScopedCollectionDescription The CollectionMetadata is intended to be an entirely internal (to sharding) implementation detail of the services provided by ScopedCollectionDescription/ScopedOwnershipFilter so should not be seen at all by non-sharding code.
* SERVER-47386 Remove obsolete TODOMatthew Saltz2020-04-131-3/+0
|
* SERVER-47387 Remove TODO comment for SERVER-45707Cheahuychou Mao2020-04-081-3/+0
|
* SERVER-45781 Throw Stale Shard Version when collection is unknown on ↵Marcos José Grillo Ramírez2020-04-081-6/+9
| | | | getCollectionDescription and renamed old version to getCollectionDescription_DEPRECATED
* SERVER-47038 Some RangeDeletion unit tests don't correctly wait for threads ↵Alex Taskov2020-04-011-20/+17
| | | | to join
* SERVER-46799 Update sharding log lines to adhere to LOGV2 style guideBlake Oler2020-03-311-61/+68
|
* SERVER-45999 Remove unused opCtx argument to PersistentTaskStore constructorCheahuychou Mao2020-03-301-13/+11
|
* SERVER-47012 Make it more obvious that retryIdempotentWorkUntilSuccess will ↵Esha Maharishi2020-03-271-17/+27
| | | | stop retrying if the node has stepped down
* SERVER-44160 Make cleanupOrphaned just wait for all range deletion tasks on ↵Esha Maharishi2020-03-181-4/+4
| | | | the ns to finish in FCV 4.4 when 'disableResumableRangeDeleter' is false
* SERVER-46756 Migration recovery on stepup can attempt to recover a move ↵Esha Maharishi2020-03-131-2/+11
| | | | chunk already running and cause it to abort
* SERVER-46395 Ensure range deletion task document exists during deletion.Max Hirschhorn2020-03-111-1/+1
| | | | | | | | | | | | 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-45692 add explicit RWC to inter-node commands (even if merely ↵Kevin Pulo2020-03-051-1/+3
| | | | kImplicitDefault)
* SERVER-45739 Make resubmitRangeDeletionsOnStepUp exception-safeAlex Taskov2020-03-041-3/+9
|
* SERVER-45780 Rename getCurrentMetadataTommaso Tocci2020-03-031-17/+15
| | | | to getCollectionDescription and change the return type
* SERVER-43846 Add information about how many migration task were leftover ↵Randolph Tan2020-03-031-64/+78
| | | | from last primary
* SERVER-46383 wrap remote call in advanceTransactionOnRecipient with ↵Randolph Tan2020-03-021-1/+14
| | | | retryIdempotentWorkUntilSuccess
* SERVER-44841 Revisit log levels for new migration protocolAlex Taskov2020-02-291-8/+12
|