[SERVER-61997] Object with only empty sub object should not start subobj compression in BSONColumn Created: 11/Dec/21 Updated: 29/Oct/23 Resolved: 11/Dec/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.3.0, 5.2.0-rc2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Henrik Edin | Assignee: | Henrik Edin |
| 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: |
v5.2
|
||||
| Sprint: | Execution Team 2021-12-13 | ||||
| Participants: | |||||
| Description |
|
It is invalid to finish subobj compression with no value fields. Also if another empty subobject is appended but with a different field name we will not be able to decompress correctly |
| Comments |
| Comment by Githook User [ 11/Dec/21 ] |
|
Author: {'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}Message: (cherry picked from commit fc021de4af28a6171e0eea8f5311268c5491876a) |
| Comment by Githook User [ 11/Dec/21 ] |
|
Author: {'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}Message: |
| Comment by Githook User [ 11/Dec/21 ] |
|
Author: {'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}Message: (cherry picked from commit b291318d67e63c988632ed785da0be1db4018cbe) |
| Comment by Githook User [ 11/Dec/21 ] |
|
Author: {'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}Message: |