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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0, 4.4.5
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Execution Team 2021-03-22
    • Linked BF Score:
      154

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dianna.hohensee Dianna Hohensee
              Reporter:
              dianna.hohensee Dianna Hohensee
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: