-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
Fully Compatible
-
Execution Team 2024-02-19, Execution Team 2024-03-04, Execution Team 2024-03-18, Execution Team 2024-04-01
-
155
Create a key_string::View type with the following structure:
struct key_string::View { const char* data; int size; // Due to the uncertainty of the underlying index key format, this key string may or may not // have a RecordId encoded at the end. bool hasRecordIdAtEnd; // Unowned TypeBits TypeBitsView typeBits; // Get an owned copy of the keystring Value getOwnedCopy(); };
Create relevant comparison helpers.
- causes
-
SERVER-88591 seekWTCursorInternal may return early causing use-after-free
- Closed
- is depended on by
-
SERVER-86595 Stack-allocate seek points in makeKeyStringFromSeekPointForSeek
- Closed
-
SERVER-88192 Use unowned SortedDataInterface API for collection validation
- Closed
-
SERVER-86453 Clarify SortedDataInterface API requirements for passing KeyStrings with RecordIds
- Closed
-
SERVER-88437 Use unowned SortedDataInterface API for SBE index scans
- Closed
- is duplicated by
-
SERVER-86386 De-duplicate calls to key_string::getKeySize while advancing through a unique index
- Closed
-
SERVER-81012 Support returning unowned KeyStrings from SortedDataInterface
- Closed
-
SERVER-83398 Unnecessary copy of the index keys when position the cursor
- Closed