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

Fix race condition related to ChangeStreamOptions access

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.4, 6.2.0-rc2, 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.2, v6.1, v6.0
    • QE 2022-11-28

      ChangeStreamOptionsManager has a race condition prone interface element - const ChangeStreamOptions& ChangeStreamOptionsManager::getOptions(OperationContext* opCtx)  which returns a reference to internal data structure. This makes any read access of the ChangeStreamOptions to introduce a race condition.

            Assignee:
            mindaugas.malinauskas@mongodb.com Mindaugas Malinauskas
            Reporter:
            mindaugas.malinauskas@mongodb.com Mindaugas Malinauskas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: