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

Stop audit_synchronize_job from running during FCV transition on mongos

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Security 2023-09-04, Security 2023-09-18
    • 47

      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.

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

              Created:
              Updated:
              Resolved: