call JournalListener::onDurable outside mutex in WiredTigerSessionCache::waitUntilDurable

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Execution NAMR Team 2023-09-18
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In WiredTigerSessionCache::waitUntilDurable(), we are still holding the _lastSyncMutex when we notify the JournalFlusher::onDurable() callback. Since the replication subsystem also implements the JournalListener interface, this may create unnecessary synchronization between the storage and replication subsystems.

            Assignee:
            Benety Goh
            Reporter:
            Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: