summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/metadata_manager.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-40357 expand all calls to MONGO_DISALLOW_COPYINGBilly Donahue2019-03-281-3/+4
| | | | | | | | | | | 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-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-38050 Validate the sameness of collection metadata after the range ↵Blake Oler2018-12-111-3/+3
| | | | deleter's deletion loop
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-32198 Make MetadataManager support an 'UNKNOWN' filtering metadata stateKaloian Manassiev2018-09-111-14/+17
|
* SERVER-36164 Decouple ScopedCollectionMetadata from MetadataManagerKaloian Manassiev2018-07-171-61/+4
|
* SERVER-36054 Remove more unused methods from CSS/MetadataManagerKaloian Manassiev2018-07-121-11/+0
|
* SERVER-36054 Remove ScopedCollectionMetadata's operator boolKaloian Manassiev2018-07-111-24/+8
|
* SERVER-35773 Remove references to the CatalogCache from MetadataManagerKaloian Manassiev2018-06-261-11/+3
|
* SERVER-34817 find replace from InterruptedDueToReplStateChange error code to ↵Nathan Louie2018-06-061-1/+1
| | | | InterruptedDueToStepDown
* SERVER-33523 Add timestamp support to CollectionMetadataMartin Neupauer2018-04-051-0/+15
|
* SERVER-32202 Do not clear the cached sharding filtering information on ↵Kaloian Manassiev2017-12-121-11/+0
| | | | replication state changes
* SERVER-31056 Remove the KeyRange type from non-test codeKaloian Manassiev2017-12-061-11/+1
|
* SERVER-31056 Remove all usages of the ScopedCollectionMetadata default ↵Kaloian Manassiev2017-12-051-6/+6
| | | | | | | constructor With this commit, only the MetadataManager is allowed to instantiate empty ScopedCollectionMetadata objects.
* SERVER-31056 Make CollectionMetadata immutableKaloian Manassiev2017-11-291-16/+45
| | | | It shouldn't contain state internal to the metadata manager.
* SERVER-31056 Cleanup MetadataManager and CollectionMetadataKaloian Manassiev2017-11-281-48/+45
| | | | | | | | No functional changes, only cleanup to improve readability. * Removes unused code * Improve comments * Hide functionality, which doesn't need to be public
* SERVER-30083 Schedule range deletions soonerNathan Myers2017-09-281-2/+8
|
* SERVER-30748 WithLock to replace _inlockNathan Myers2017-08-251-15/+14
|
* Revert "SERVER-30748 WithLock to replace _inlock"Robert Guo2017-08-241-14/+15
| | | | This reverts commit 200d56c6eec8acdc6cddf0541f31c60f4ed2e760.
* SERVER-30748 WithLock to replace _inlockNathan Myers2017-08-231-15/+14
|
* SERVER-29136 Better extractDocumentKeyNathan Myers2017-08-151-5/+6
|
* SERVER-29136 Op log deletions get shard keysNathan Myers2017-08-091-2/+5
|
* Revert "SERVER-29136 Op log deletes get shard key"Nathan Myers2017-08-021-5/+2
| | | | This reverts commit 972a7cb7b7676ab5d132fbd1b40dc3e8f98ae48c.
* SERVER-29136 Op log deletes get shard keyNathan Myers2017-08-021-2/+5
|
* SERVER-29817 Move construction of CollectionMetadata data structures out of ↵Andy Schwerin2017-07-121-6/+1
| | | | ShardingState.
* SERVER-29405 delay deleting orphaned shard chunksNathan Myers2017-06-301-27/+17
| | | | | | | | | | | | | | 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-29342 CollectionShardState/RangeDeleter support for safe secondary readsNathan Myers2017-06-021-5/+37
|
* Revert "SERVER-29342 CollectionShardState/RangeDeleter support for safe ↵Nathan Myers2017-06-011-37/+5
| | | | | | secondary reads" This reverts commit 6bf062db95d69f06b02da708b54f5e3efbb9dfa5.
* SERVER-29342 CollectionShardState/RangeDeleter support for safe secondary readsNathan Myers2017-06-011-5/+37
|
* SERVER-28841 (forward-port) simpler CollectionMetadata lifetime managementNathan Myers2017-05-181-22/+19
|
* SERVER-28884 Better range deletion event trackingNathan Myers2017-05-171-38/+30
|
* SERVER-29156 Notify range-delete listeners when table dropsNathan Myers2017-05-121-0/+8
|
* SERVER-27921 New Range DeleterNathan Myers2017-04-201-123/+145
|
* SERVER-27681 Use CatalogCache to load metadata on shardsKaloian Manassiev2017-03-191-2/+2
| | | | | | | 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-26593 decrement usage counter in ScopedCollectionMetadata's move ↵Esha Maharishi2016-10-141-4/+6
| | | | constructor
* SERVER-24508 delete BSONObjCmpDavid Storch2016-08-231-1/+2
| | | | Instead, use BSONObj::ComparatorInterface.
* SERVER-25010 Add a Notification object with each object in ↵Sam Dunietz2016-08-021-9/+64
| | | | MetadataManager::_rangesToClean
* SERVER-24573 Implement CollectionRangeDeleter range deletion logicLeon Zaruvinsky2016-08-021-0/+16
|
* SERVER-24367 Implement CollectionRangeDeleter task lifetime managementSam Dunietz2016-07-291-1/+9
|
* Revert "SERVER-24367 Implement CollectionRangeDeleter task lifetime management"Sam Dunietz2016-07-281-9/+1
| | | | This reverts commit 9a776eae4f669fdcfae94c41c0cbbea662d36c94.
* SERVER-24367 Implement CollectionRangeDeleter task lifetime managementSam Dunietz2016-07-281-1/+9
|
* SERVER-24569 Maintain rangesToClean and metadataInUse on chunk migrationsKaloian Manassiev2016-07-211-11/+37
| | | | | This change rewrites the collection metadata refresh mechanism and puts it entirely under the metadata manager.
* SERVER-24569 Cleanup CollectionMetadata and MetadataManagerKaloian Manassiev2016-07-191-0/+3
|
* SERVER-24415 Replace instances of shared_ptr<CollectionMetadata> with ↵Leon Zaruvinsky2016-07-071-2/+11
| | | | ScopedCollectionMetadata
* SERVER-24629 Add concurrency protection to MetadataManagerLeon Zaruvinsky2016-07-061-1/+8
|
* SERVER-24365 Implement the rangesToClean set and maintenance methodsSam Dunietz2016-06-211-1/+27
|
* Revert "SERVER-24365 Implement the rangesToClean set and maintenance methods"Sam Dunietz2016-06-201-22/+0
| | | | This reverts commit 480cc39616144cb10ecd9cb1170ba2129c67f6d7.
* SERVER-24365 Implement the rangesToClean set and maintenance methodsSam Dunietz2016-06-201-0/+22
|
* SERVER-24364 Implements MetadataManager to manage CollectionMetadata instancesLeon Zaruvinsky2016-06-171-8/+67
|
* SERVER-24461 Create a base MetadataManager classLeon Zaruvinsky2016-06-101-0/+61