[SERVER-34300] SharedStateBase::setError should add error info to invariant msg Created: 04/Apr/18  Updated: 29/Oct/23  Resolved: 06/Apr/18

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.7.4

Type: Improvement Priority: Trivial - P5
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Repl 2018-04-09
Participants:

 Description   

It would be nice to get some additional information when we hit the invariants in SharedStateBase::setError() (future.h). It would provide some clue on how the caller might be misusing the futures API.



 Comments   
Comment by Githook User [ 06/Apr/18 ]

Author:

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

Message: SERVER-34300 log status in SharedStateBase::setError in dassert
Branch: master
https://github.com/mongodb/mongo/commit/83c933958255a99c4c92ccbeb02cf1b45d5a5fc3

Comment by Githook User [ 06/Apr/18 ]

Author:

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

Message: SERVER-34300 fixed typo in Future comments
Branch: master
https://github.com/mongodb/mongo/commit/d94d12910e4b38345ffec3ca073756e9c3094454

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