[SERVER-75314] Handle _createCompatibleCollection() returning nullptr in standalone mode Created: 27/Mar/23  Updated: 29/Oct/23  Resolved: 27/Mar/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2023-04-03
Participants:
Linked BF Score: 135

 Description   

CollectionCatalog::_createCompatibleCollection() can return nullptr when timestamps are not used (i.e. standalone mode). This triggers an invariant failure.



 Comments   
Comment by Githook User [ 27/Mar/23 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-75314 Fix instantiating collections at latest in standalone mode
Branch: master
https://github.com/mongodb/mongo/commit/f7019897eae47dbb7197ffc2ab843c1427db39d5

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