Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-86151

Create unowned SortedDataInterface data return type

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • 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.

            Assignee:
            wei.hu@mongodb.com Wei Hu
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: