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

Create unowned key_string::View type

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Storage Execution

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: