-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Programmability
In SERVER-90992 we ended up having to implement a smart pointer that would do reference counting on debug builds but in release builds would boil down to a plain pointer. This was because we wanted to detect usages of the pointer that would be left pointing to an invalid region of memory.
It was discussed in the PR that it would make sense to have a generalisation of this pattern so that it can be reused in other parts of the codebase.
- is related to
-
SERVER-90992 Collection acquisitions have no enforcement of snapshot stability
- In Code Review