Hello,
Some of the structures now seem to reach the limits of MongoDB again ("com.mongodb.MongoInternalException: DBObject of size 21253420 is over Max BSON size 16777216"). When this happended first a year ago or so, when the limit was still 4 MB, I modified my code to use object references and collections for the sub-documents. While this would be possible again for the sub-documents of the sub-documents, it would require a large amount of development effort and in addition in the general case would severe performance. As this error happens not predictable, after all, I don't know for sure, what the attribute values of the documents will be and thus it is unclear at what point and for which structures this limit will be a problem, I'd be glad to hear some suggestions on how to solve / work around the problem.
I'd gladly prefer to have such kind of limit optional. I am storing more than 8 TerraByte in the database, and I don't see a problem in an object size of 21 MB instead of 16 MB.
Thanks for any hints!
Chris