...
In SERVER-26703, the server began to enforce the BSON depth limit for nested objects and arrays. In addition to rejecting commands that exceed the depth limit, the server should prohibit updates that cause a document to exceed the allowed depth limit.
xgen-internal-githook commented on Tue, 4 Apr 2017 15:45:50 +0000: Author: {u'username': u'ksuarz', u'name': u'Kyle Suarez', u'email': u'kyle.suarez@mongodb.com'} Message: SERVER-28347 enforce storage depth limit for user documents Introduces a nesting depth limit for document storage, which is lower than the hard limit for general BSONObjects. Users cannot insert documents exceeding this limit, nor can they update a document to exceed it. Branch: v3.4 https://github.com/mongodb/mongo/commit/8c0ee41fa75c0d7bfce99f035ec76d5e41880359 xgen-internal-githook commented on Tue, 28 Mar 2017 21:37:47 +0000: Author: {u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'} Message: Revert "SERVER-28347 enforce storage depth limit for user documents" This reverts commit c7eed05b0a58b265bb65914d4a55dfb2a95d4127. Branch: v3.4 https://github.com/mongodb/mongo/commit/bdf55b52c1a3586f9ef6db4766727734a9ff2615 xgen-internal-githook commented on Tue, 28 Mar 2017 20:49:12 +0000: Author: {u'username': u'ksuarz', u'name': u'Kyle Suarez', u'email': u'kyle.suarez@mongodb.com'} Message: SERVER-28347 enforce storage depth limit for user documents Introduces a nesting depth limit for document storage, which is lower than the hard limit for general BSONObjects. Users cannot insert documents exceeding this limit, nor can they update a document to exceed it. (cherry picked from commit 59bf804f975b8128557215c61ca2447ca630abdc) Conflicts: src/mongo/db/ops/insert.cpp src/mongo/executor/network_interface_asio_integration_fixture.cpp src/mongo/executor/network_interface_asio_integration_fixture.h Branch: v3.4 https://github.com/mongodb/mongo/commit/c7eed05b0a58b265bb65914d4a55dfb2a95d4127 xgen-internal-githook commented on Fri, 24 Mar 2017 17:04:37 +0000: Author: {u'username': u'ksuarz', u'name': u'Kyle Suarez', u'email': u'kyle.suarez@mongodb.com'} Message: SERVER-28347 enforce storage depth limit for user documents Introduces a nesting depth limit for document storage, which is lower than the hard limit for general BSONObjects. Users cannot insert documents exceeding this limit, nor can they update a document to exceed it. Branch: master https://github.com/mongodb/mongo/commit/59bf804f975b8128557215c61ca2447ca630abdc