-
Type: New Feature
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: JavaScript
-
None
-
Fully Compatible
-
v3.4, v3.2, v3.0
-
Platforms 2017-09-11
Currently, we rely on users of the JS layer to always mark objects as owned, or call advanceGeneration as needed to invalidate view-only types. We should add a mode to the scope which enforces ownership to prevent unowned objects from being passed in if we're not expecting them
- related to
-
SERVER-30971 Use of "scope" field in mapReduce triggers BSONObj ownership error
- Closed