[SERVER-24569] Maintain the 'rangesToClean' and 'metadataInUse' sets on chunk migrations Created: 14/Jun/16  Updated: 15/Aug/16  Resolved: 22/Jul/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.3.11

Type: Task Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-24573 Implement CollectionRangeDeleter rang... Closed
Related
is related to SERVER-25602 splitChunk command with out of bound ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 16 (06/24/16), Sharding 17 (07/15/16), Sharding 18 (08/05/16)
Participants:

 Description   

This task is to finish the MetadataManager
1) connect the rangesToClean set created in SERVER-24365 with the code created in SERVER-24364 – manipulate/populate the rangesToClean and metadataInUse variables. Add invariant checks where logical.
2) take the MetadataManager API and replace all usages of CollectionMetadata::cloneMinusPending, CollectionMetadata::clonePlusPending and CollectionMetadata::cloneMigrate and make them instead use the add/removeRange methods combined with the setMetadata call.



 Comments   
Comment by Githook User [ 22/Jul/16 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-24569 Maintain rangesToClean and metadataInUse on chunk migrations

This change rewrites the collection metadata refresh mechanism and puts it
entirely under the metadata manager.
Branch: master
https://github.com/mongodb/mongo/commit/ea026e685bc90c102e2305e21b8bdc096475b49b

Comment by Githook User [ 19/Jul/16 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-24569 Cleanup CollectionMetadata and MetadataManager
Branch: master
https://github.com/mongodb/mongo/commit/89d75b1fe6bc12330b44f40507396c72da67b150

Generated at Thu Feb 08 04:06:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.