[SERVER-84233] Support BSON MinKey and MaxKey in BSONColumn Created: 15/Dec/23 Updated: 30/Jan/24 Resolved: 23/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0, 7.0.6, 6.0.14 |
| Type: | Improvement | 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: |
|
||||||||||||||||||||||||||||
| Assigned Teams: |
Storage Execution
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Backport Requested: |
v7.0, v6.0
|
||||||||||||||||||||||||||||
| Sprint: | Execution Team 2024-01-22, Execution Team 2024-02-05 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
BSON MinKey and MaxKey are the only unencodable types/values in the BSONColumn format. If a user uses these special types when inserting data into a time-series collection we cannot use the compressed bucket format. This will prevent us from a future where we can rely on the compressed bucket format being used and the advantages that gives (guarantee for query that the data is sorted on time for example). It also makes the insertion logic more complicated. If the BSONColumn compressor throws when inserting data, we'd need to differentiate between unsupported user input and corrupt BSONColumn binary. |
| Comments |
| Comment by Githook User [ 30/Jan/24 ] |
|
Author: {'name': 'henrikedin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}Message: GitOrigin-RevId: 434dd94a94f766a67617d6ebcc9e393842267d06 |
| Comment by Githook User [ 30/Jan/24 ] |
|
Author: {'name': 'henrikedin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}Message: GitOrigin-RevId: c7dca7caea18fee6fe5672f0127b716e0362e740 |
| Comment by Githook User [ 22/Jan/24 ] |
|
Author: {'name': 'henrikedin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}Message: GitOrigin-RevId: ece6bedb937307194650c219d94b5709e89e8545 |