[SERVER-75261] "listCollections" command fails with BSONObjectTooLarge error Created: 24/Mar/23 Updated: 29/Oct/23 Resolved: 30/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 5.0.15, 6.0.5 |
| Fix Version/s: | 7.0.0-rc0, 6.0.6, 5.0.17, 4.4.21, 6.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mindaugas Malinauskas | Assignee: | Mindaugas Malinauskas |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
|||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | |||||||||||||||||||||||
| Operating System: | ALL | |||||||||||||||||||||||
| Backport Requested: |
v6.3, v6.0, v5.0, v4.4, v4.2
|
|||||||||||||||||||||||
| Steps To Reproduce: |
|
|||||||||||||||||||||||
| Sprint: | QE 2023-04-03 | |||||||||||||||||||||||
| Participants: | ||||||||||||||||||||||||
| Description |
|
"listCollections" command fails with BSONObjectTooLarge error when:
Likely other commands such as "find" and "aggregate" are affected. Extremely likely the root cause is not accounting for array element field element size when building the result. |
| Comments |
| Comment by Githook User [ 12/Apr/23 ] |
|
Author: {'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com', 'username': ''}Message: (cherry picked from commit 3cde7fd5d90f1e6bd16d38cc668963a14671d690) |
| Comment by Githook User [ 12/Apr/23 ] |
|
Author: {'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com', 'username': ''}Message: (cherry picked from commit 3cde7fd5d90f1e6bd16d38cc668963a14671d690) |
| Comment by Githook User [ 12/Apr/23 ] |
|
Author: {'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com', 'username': ''}Message: (cherry picked from commit 3cde7fd5d90f1e6bd16d38cc668963a14671d690) |
| Comment by Githook User [ 12/Apr/23 ] |
|
Author: {'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com', 'username': ''}Message: (cherry picked from commit 3cde7fd5d90f1e6bd16d38cc668963a14671d690) |
| Comment by Githook User [ 29/Mar/23 ] |
|
Author: {'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com', 'username': ''}Message: |