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

Skip fast count enforcement on the oplog when running validate with enforceFastCount=true

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2020-06-29, Execution Team 2020-07-13
    • 34

    Description

      Oplog writers only take a global IX lock, so the oplog can still be written to even during full validation despite its collection X lock. This can cause validate to incorrectly report an incorrect fast count on the oplog when run in enforceFastCount mode. Thus, even if enforceFastCount is specified, the fast count should not be enforced on the oplog.

      Attachments

        Activity

          People

            gregory.noma@mongodb.com Gregory Noma
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: