[SERVER-22458] KeyString::TypeBits incorrectly limits length to 63 bytes Created: 03/Feb/16  Updated: 22/Feb/16  Resolved: 04/Feb/16

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 3.3.2

Type: Bug Priority: Minor - P4
Reporter: Geert Bosch Assignee: Geert Bosch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Integration 10 (02/22/16)
Participants:

 Description   

This is only a theoretical issue, as the BSON size of a key is limited to 1024 bytes, so 63 bytes of data would require in 64*4 = 252 numeric fields, which is impossible.



 Comments   
Comment by Githook User [ 04/Feb/16 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-22458: Return TypeBits size bytes values up to kMaxBytesNeeded
Branch: master
https://github.com/mongodb/mongo/commit/e4474b03eaa11834f4f26be4b64d6f1f0184d3df

Generated at Thu Feb 08 04:00:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.