[SERVER-36280] Create a new feature tracker bit indicating the existence of KeyString with long TypeBits Created: 25/Jul/18  Updated: 29/Oct/23  Resolved: 24/Aug/18

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

Type: Task Priority: Major - P3
Reporter: Xiangyu Yao (Inactive) Assignee: Xiangyu Yao (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-36278 Remove the 1KB index key size limit Closed
Related
related to SERVER-56929 Improve error message for improper do... Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-08-13, Storage NYC 2018-08-27
Participants:

 Description   

Write a repairable feature tracker bit whenever we insert an index key whose KeyString representation has more than 127 bytes TypeBits. This is because earlier MongoDB binaries (4.0.0, 3.6.x) will have an overflow issue when reading such KeyStrings. With this new feature tracker bit, earlier MongoDB binaries will fail to startup and request for an upgrade when detecting this feature tracker bit.



 Comments   
Comment by Githook User [ 24/Aug/18 ]

Author:

{'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}

Message: SERVER-36280 Create a feature tracker bit indicating the existence of KeyString with long TypeBits
Branch: master
https://github.com/mongodb/mongo/commit/fe2906300d0458e5421b576319b11274c56ea3c8

Comment by Githook User [ 23/Aug/18 ]

Author:

{'name': 'Eric Milkie', 'email': 'milkie@10gen.com', 'username': 'milkie'}

Message: Revert "SERVER-36280 Create a feature tracker bit indicating the existence of KeyString with long TypeBits"

This reverts commit 600351dc35fba5ef1f0a7987770e307a38ffbcd4.
Branch: master
https://github.com/mongodb/mongo/commit/0a2694ce31fba2b9f2efbf6a825d492b16993101

Comment by Githook User [ 22/Aug/18 ]

Author:

{'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}

Message: SERVER-36280 Create a feature tracker bit indicating the existence of KeyString with long TypeBits
Branch: master
https://github.com/mongodb/mongo/commit/600351dc35fba5ef1f0a7987770e307a38ffbcd4

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