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
When trying to restore a dump that contains a collection that has no documents in it, the BSON parser throws with 'Error: corrupt bson message'. The bson file representing the empty collection is 0 bytes and therefor invalid bson.
In fromJson() just test for data.length before deserializing and pushing to docsBulk to fix this
The text was updated successfully, but these errors were encountered:
When trying to restore a dump that contains a collection that has no documents in it, the BSON parser throws with 'Error: corrupt bson message'. The bson file representing the empty collection is 0 bytes and therefor invalid bson.
In fromJson() just test for data.length before deserializing and pushing to docsBulk to fix this
The text was updated successfully, but these errors were encountered: