[SERVER-30337] Fix UUIDCatalog maintenance during initial sync Created: 26/Jul/17  Updated: 30/Oct/23  Resolved: 27/Jul/17

Status: Closed
Project: Core Server
Component/s: Replication, Storage
Affects Version/s: None
Fix Version/s: 3.5.11

Type: Bug Priority: Major - P3
Reporter: Geert Bosch Assignee: Maria van Keulen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-30229 Clean up UUIDCatalog registration Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Storage 2017-07-31
Participants:
Linked BF Score: 0

 Description   

In some circumstances initial sync may result in the UUIDCatalog not being updated properly, leading to a failing invariant

Invariant failure uuidCatalog.lookupCollectionByUUID(_uuid.get()) != _this src/mongo/db/catalog/collection_impl.cpp 215



 Comments   
Comment by Githook User [ 27/Jul/17 ]

Author:

{'email': 'benety@mongodb.com', 'username': 'benety', 'name': 'Benety Goh'}

Message: SERVER-30337 DatabaseHolder::close() flushes UUID catalog
Branch: master
https://github.com/mongodb/mongo/commit/1ee8b25310691dbea1a29433c580f3a8683d385c

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