[SERVER-36174] MONGO_UNREACHABLE is reachable in kv database catalog entry Created: 18/Jul/18  Updated: 29/Oct/23  Resolved: 13/Feb/19

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

Type: Task Priority: Major - P3
Reporter: Eric Milkie Assignee: Divjot Arora (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng, nyc
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2019-02-11, Storage NYC 2019-02-25
Participants:

 Description   

https://github.com/mongodb/mongo/blob/e8c9c986c50def137caad1313030fb0a958ba61b/src/mongo/db/storage/kv/kv_database_catalog_entry.cpp#L92

This line should be changed into an fassert. This was flagged by Coverity (as a memory leak since it thinks the function can really reach its end and return.)



 Comments   
Comment by Githook User [ 13/Feb/19 ]

Author:

{'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}

Message: SERVER-36174 Change MONGO_UNREACHABLE to fassert
Branch: master
https://github.com/mongodb/mongo/commit/f910e93260a6a76b432510a7beef9593e42ec872

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