You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding this information here so this issue can be referenced in code.
The MongoDB driver has to account for some data structure overhead when calculating the maximum document size, namely the size in bytes of the array indexes.
Adding this information here so this issue can be referenced in code.
The MongoDB driver has to account for some data structure overhead when calculating the maximum document size, namely the size in bytes of the array indexes.
mongodb/node-mongodb-native@436cb84
https://jira.mongodb.org/browse/NODE-1778
https://github.com/mongodb/node-mongodb-native/blob/436cb84f06c1d71eac82eed2b0f1a301a9ab9b13/lib/bulk/ordered.js#L26
https://github.com/mongodb-js/bson-ext
https://github.com/mongodb/js-bson#calculateObjectSize
Max Size Formula
https://github.com/mongodb/node-mongodb-native/blob/436cb84f06c1d71eac82eed2b0f1a301a9ab9b13/lib/bulk/common.js#L700
The text was updated successfully, but these errors were encountered: