[SERVER-43151] Error in aggregation assertion at value.cpp:1368 Created: 04/Sep/19 Updated: 29/Oct/23 Resolved: 28/Oct/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 4.0.12 |
| Fix Version/s: | 3.6.15, 4.3.1, 3.4.24, 4.2.2, 4.0.14 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Asya Kamsky | Assignee: | Bernard Gorman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Backport Requested: |
v4.2, v4.0, v3.6, v3.4
|
||||||||||||||||||||
| Sprint: | Query 2019-11-04 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
When running an aggregation with $group and $first and $last for "$$ROOT" I get this error:
|
| Comments |
| Comment by Asya Kamsky [ 30/Apr/20 ] |
|
Root cause of this was in some cases spilling to disk and having the file on disk grow to some size larger than 4GBs. |
| Comment by Githook User [ 29/Oct/19 ] |
|
Author: {'username': 'gormanb', 'email': 'bernard.gorman@mongodb.com', 'name': 'Bernard Gorman'}Message: (cherry picked from commit e20b65008f4738d73d338ed1af464ec8a1749742) |
| Comment by Githook User [ 29/Oct/19 ] |
|
Author: {'username': 'gormanb', 'email': 'bernard.gorman@mongodb.com', 'name': 'Bernard Gorman'}Message: (cherry picked from commit e20b65008f4738d73d338ed1af464ec8a1749742) |
| Comment by Githook User [ 29/Oct/19 ] |
|
Author: {'username': 'gormanb', 'email': 'bernard.gorman@mongodb.com', 'name': 'Bernard Gorman'}Message: (cherry picked from commit e20b65008f4738d73d338ed1af464ec8a1749742) |
| Comment by Githook User [ 29/Oct/19 ] |
|
Author: {'name': 'Bernard Gorman', 'username': 'gormanb', 'email': 'bernard.gorman@mongodb.com'}Message: (cherry picked from commit e20b65008f4738d73d338ed1af464ec8a1749742) |
| Comment by Githook User [ 28/Oct/19 ] |
|
Author: {'name': 'Bernard Gorman', 'username': 'gormanb', 'email': 'bernard.gorman@mongodb.com'}Message: |
| Comment by Eric Milkie [ 18/Oct/19 ] |
|
The symptoms described in this ticket does not suggest data corruption on disk, but does suggest BSON corruption in memory with the use of $$ROOT. |
| Comment by Brian Lane [ 18/Oct/19 ] |
|
Hey vikas.ramnani and eric.sedor - Since its happening in both 4.0 and 4.2, I don't think this is related to the different versions of snappy. I am going to pass this over to execution, who can direct it to another team as needed. -Brian |