[SERVER-36948] Incorrect usage of `StatusWith<T>` in biggie storage engine Created: 30/Aug/18  Updated: 29/Oct/23  Resolved: 18/Sep/18

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

Type: Bug Priority: Critical - P2
Reporter: ADAM Martin (Inactive) Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: nyc
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Storage NYC 2018-09-24
Participants:

 Description   

`StatusWith<T>` cannot be constructed with a `Status::OK()` call.  This is a violation of the `Status` object's design.  It will trap at runtime.



 Comments   
Comment by Githook User [ 18/Sep/18 ]

Author:

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

Message: SERVER-36948 fix incorrect usage of StatusWith<T> in biggie storage engine
Branch: master
https://github.com/mongodb/mongo/commit/185e2c6c38e959bbad40b624c4afeef5743f9c03

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