Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-58777

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

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

      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@mongodb.com Gregory Noma
            Reporter:
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: