[SERVER-40497] ViewCatalog call to get() on empty boost::optional Created: 05/Apr/19  Updated: 29/Oct/23  Resolved: 05/Apr/19

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

Type: Bug Priority: Major - P3
Reporter: James Wahlin Assignee: James Wahlin
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
Participants:
Linked BF Score: 8

 Description   

This can happen here. It is triggered in the case where ViewCatalog::resolveView() is called for a namespace, but finds that this namespace is no longer in the catalog, as would be the case if it were deleted.



 Comments   
Comment by Githook User [ 05/Apr/19 ]

Author:

{'email': 'james@mongodb.com', 'name': 'James Wahlin', 'username': 'jameswahlin'}

Message: SERVER-40497 Fix ViewCatalog call to get() on empty boost::optional
Branch: master
https://github.com/mongodb/mongo/commit/fc47f37ed80a2ec3ee36939eb164fe0d1c65bb80

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