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

Stop audit_synchronize_job from running during FCV transition on mongos

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Security 2023-09-04, Security 2023-09-18
    • 47

    Description

      Previously, I thought this was only a problem on mongod. However, it seems like there's a race condition on mongos where audit_synchronize_job is executing and fetching the old audit config from the cluster, and right after the cluster parameter refresher is executing and fetches the new audit config, but the refresher finishes first and the old audit config is then set and returned by getAuditConfig. We should block audit_synchronize_job from running on transitional cluster versions to prevent this.

      Attachments

        Activity

          People

            gabriel.marks@mongodb.com Gabriel Marks
            gabriel.marks@mongodb.com Gabriel Marks
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: