[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:
Backports
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: SERVER-61997 Incompatible object with only empty subobj should not re-start subobj compression

(cherry picked from commit fc021de4af28a6171e0eea8f5311268c5491876a)
Branch: v5.2
https://github.com/mongodb/mongo/commit/538eab3b804219b1b8478bd62a0fec657c9eda80

Comment by Githook User [ 11/Dec/21 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-61997 Incompatible object with only empty subobj should not re-start subobj compression
Branch: master
https://github.com/mongodb/mongo/commit/fc021de4af28a6171e0eea8f5311268c5491876a

Comment by Githook User [ 11/Dec/21 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-61997 Object with only empty subobj should not start subobj compression

(cherry picked from commit b291318d67e63c988632ed785da0be1db4018cbe)
Branch: v5.2
https://github.com/mongodb/mongo/commit/47c4c8bebc48d250ca72d8dfba8324f0f957430f

Comment by Githook User [ 11/Dec/21 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-61997 Object with only empty subobj should not start subobj compression
Branch: master
https://github.com/mongodb/mongo/commit/b291318d67e63c988632ed785da0be1db4018cbe

Generated at Thu Feb 08 05:53:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.