Inserts and updates disagree on whether an empty subdocument is a level of nesting

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.10, 5.0.4, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.0, v4.4
    • Execution Team 2021-09-20
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Inserts consider an empty subdocument to count as a level of nesting, where as updates do not. This means that if you update a document to have depth equal to the max user BSON depth plus an empty subdocument, that same (valid) document cannot be inserted.

              Assignee:
              Gregory Noma
              Reporter:
              Gregory Noma
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: