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

Stop the JournalFlusher thread from running at all unless requested in unit tests so that it does not access infrastructure still being initialized

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0, 4.4.5
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2021-03-22
    • 154

      The JournalFlusher creates an OperationContext and runs a data flush before pausing for unit testing until a request comes in. There is already a flag for the JournalFlusher, created to stop the JournalFlusher from running until requested, specially added to make it only run upon request in unit testing. However, it doesn't stop it from running an initial flush and needs to be expanded to do so.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: