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.
- is related to
-
SERVER-59851 Investigate whether BSON depth validation logic can be consolidated
- Closed