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

setInitialSyncFlag and clearInitialSyncFlag dbtests should not call waitUntilDurable() with lock held

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Execution Team 2019-11-04

      Description

      setInitialSyncFlag and clearInitialSyncFlag both write a document and then call waitUntilDurable(). We hold a lock while calling these functions because a document write requires a lock. However, callers of waitUntilDurable() should not hold locks since significant I/O work may be done.

      We wish to add an invariant to waitUntilDurable() against callers with locks in SERVER-39591. This task is a blocker.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gregory.wlodarek Gregory Wlodarek
              Reporter:
              dianna.hohensee Dianna Hohensee
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: