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

Validation hook should upgrade before validating index consistency

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.18, 4.1.3
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.4
    • Sprint:
      Storage NYC 2018-08-27, Storage NYC 2018-09-10
    • Linked BF Score:
      23

      Description

      If a big index key (>1KB) has been inserted in FCV 4.2 and then a downgrade happens, the big index key remains on disk. This makes the index validation fail in FCV 4.0 because FCV 4.0 does not allow big index keys. This behavior is expected as we wrote in the design of PM-284:

      It is expected that a big index key inserted in FCV 4.2 causes the index validation in FCV 4.0 fail. The solution is to drop the index and run validate again.

      Therefore, the fuzzer should keep in mind this assumption and not validate in this case.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: