Fix race condition in changeStreamsMonitor recreation unit test

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • ClusterScalability 22Jun-6Jul
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Add a state guard in the test ensure that the resharding service does not race with the concurrent writes to the collection. This results in the change streams monitor reporting the wrong document delta. 

            Assignee:
            Kruti Shah
            Reporter:
            Kruti Shah
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: