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

Validation hook should upgrade before validating index consistency

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • v3.4
    • Storage NYC 2018-08-27, Storage NYC 2018-09-10
    • 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

        Activity

          People

            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: