-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Server Programmability
-
None
-
None
-
None
-
None
-
None
-
None
-
None
BSONObj constructors use compile time size traits as a policy to determine max size. These are no longer used meaningfully and should be removed. Instead, there is already a run time check `validateBSONObjSize` which asserts the BSONObj is smaller than a certain `BufferMaxSize`.