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

XMLWordPrintableJSON

    • Fully Compatible
    • Execution Team 2019-11-04
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Gregory Wlodarek
            Reporter:
            Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: