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

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

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

      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@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: