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

[4.4] collMod should not accept "recordPreImages: false" option in FCV 4.2

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.4.2
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2020-09-07, Execution Team 2020-09-21
    • 0

    Description

      Passing "recordPreImages: false" to collMod can still replicate an unknown field to 4.2 secondaries.

      This is because we do not attempt to set the option when the field is already 'false'. This, however also bypasses validation in validatePreImageRecording.

      This is a follow-up to SERVER-48971, which did not completely address the problem.

      Attachments

        Activity

          People

            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: