Remove BSONObj size traits

XMLWordPrintableJSON

    • 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`.

            Assignee:
            Alex Li
            Reporter:
            Alex Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: