-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
Execution Team 2021-09-20, Execution Team 2021-10-04
-
155
We currently support encoding RecordId strings at the end of a KeyString for secondary index support on clustered collections.
The current encoding is designed to be read in reverse from the end of the string. The 1-byte size is appended at the end, preceded by the string contents. The current string encoding only supports encoding strings up to 127 bytes long, or what fits in 7 bits.
Extend the encoding to support larger strings. Use the unused high bit as a continuation bit that indicates the presence of a preceding size byte. Continue encoding right-to-left until there are no more size bytes remaining with continuation bits.
- depends on
-
SERVER-58949 Support RecordId strings larger than 14 bytes
- Closed
- related to
-
SERVER-60127 Complete TODO listed in SERVER-59199
- Closed