[SERVER-56316] Unable to perform mongodump getting an error with collection size issues Created: 23/Apr/21 Updated: 22/Jun/22 Resolved: 23/Apr/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 3.4.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Bharath Kumar CM | Assignee: | Edwin Zhou |
| Resolution: | Done | Votes: | 0 |
| Labels: | mongodump | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Steps To Reproduce: | Command Logs 2021-04-22T09:14:23.690-0700 Failed: error counting dbname.collectionname: Total size of documents in collection_DesignDetails matching { $match: { $and: [ { PartNo: { $eq: null }}, {} ] } } exceeds maximum document size |
| Participants: | |
| Story Points: | 1 |
| Description |
|
Unable to perform mongodump getting an error with collection size issues Error: 2021-04-22T09:14:23.690-0700 Failed: error counting dbname.collectionname: Total size of documents in collection_DesignDetails matching { $match: { $and: [ { PartNo: { $eq: null }}, {} ] } } exceeds maximum document size |
| Comments |
| Comment by Bharath Kumar CM [ 25/Apr/21 ] |
|
Thanks Edwin after I downloaded latest mongodump and mognorestore and initiated the backup and restore and both looked good. wget https://fastdl.mongodb.org/tools/db/mongodb-database-tools-ubuntu1604-x86_64-100.3.1.tgz tar xvzf mongodb-database-tools-ubuntu1604-x86_64-100.3.1.tgz
|
| Comment by Edwin Zhou [ 23/Apr/21 ] |
|
According to our support policy, MongoDB v3.4 has not been supported since January 2020. We strongly recommend that you upgrade to a more recent version of MongoDB before reattempting mongodump. Since MongoDB 4.4, mongodump has been released as a part of MongoDB Database Tools which is separate from MongoDB server, so you may install the latest version of these tools and attempt mongodump once you upgrade your server to a compatible version. If this issue persists after upgrading your server, please let us know and we will happily reopen this issue. Best, |
| Comment by Bharath Kumar CM [ 23/Apr/21 ] |
|
any solution to this issue apart from upgrading as a quicker resolution ? |