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.
- depends on
-
SERVER-36278 Remove the 1KB index key size limit
- Closed
- related to
-
SERVER-56929 Improve error message for improper downgrades resulting in invalid collection options
- Closed