Operational Defect Database

BugZero found this defect 68 days ago.

MongoDB | 2605963

movePrimary is preserving UUID's of unsharded collections

Last update date:

3/15/2024

Affected products:

MongoDB Server

Affected releases:

8.0.0-rc0

Fixed releases:

8.0.0-rc0

Description:

Info

SERVER-79160 changed movePrimary behavior for unsharded collections to preserve the UUID across shards. This was added because at that time tracked collections needed to preserve UUID after the move (so the sharding catalog would be consistent with the local catalog), all unsharded collections were going to be tracked and there were no moveCollection to move unsplittable collections. This had an unintended effect though explained by SERVER-87772, and considering for 8.0 we might have unsharded collections that are not tracked, we should restore the original movePrimary behavior. As part of this ticket we should make sure we don't break compatibility with C2C.

Top User Comments

xgen-internal-githook commented on Fri, 15 Mar 2024 15:00:25 +0000: Author: {'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'} Message: SERVER-87805 movePrimary should not preserve UUID's of unsharded collections (#19973) GitOrigin-RevId: 010ba640729a2791b4bfa06b767cad0751db79da Branch: master https://github.com/mongodb/mongo/commit/cb8e5d6c9e0f62638c4aa5ddebcfe5d9de276744

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Closed

Learn More

Search:

...