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

Add comprehensive testing for KeyString length decoding

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.0.0-rc0
    • None
    • Storage
    • None
    • Fully Compatible
    • Storage Non-NYC 2018-04-23, Storage Non-NYC 2018-05-07, Storage Non-NYC 2018-05-21
    • 5

    Description

      Unique index key format would be changed to enable PIT reads from secondary. As a result, unique indexes could have both old and new format keys after an upgrade. Reading keys from mixed format index requires distinguishing old and new format keys.
      Index keys are stored as KeyString objects. To read keys correctly from mixed format indexes, a function was written to decode the KeyString and calculate the size of key.

      This ticket aims to add comprehensive test for this new KeyString length decoding function.

      Attachments

        Activity

          People

            neha.khatri Neha Khatri
            neha.khatri Neha Khatri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: