BugZero found this defect 68 days ago.
Data sources
All data on this page is proprietary to BugZero® or gathered from public sources
3/15/2024
MongoDB Server
8.0.0-rc0
8.0.0-rc0
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.
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