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

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

    • Fully Compatible
    • Execution Team 2019-11-04

      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@mongodb.com Gregory Wlodarek
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: