-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
Fully Compatible
-
ALL
-
v8.1
-
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
When CollectionRef::restoreCollection() throws, it leaves '_collPtr' in an initialized state, which is wrong. To keep the CollectionRef in a consistent state, the correct behavior in the event of an exception should be to leave '_collPtr' in an uninitialized state.
Same goes for CollectionRef::acquireCollection().
The goal of this task is to fix CollectionRef::restoreCollection() and CollectionRef::acquireCollection() accordingly.
- is related to
-
SERVER-102715 [SBE] Don't release storage engine resources if saveState()/restoreState() throws
-
- Closed
-