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

Introduce a future-based API for waiting for write concern

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.1
    • Replication
    • None
    • Fully Compatible
    • Repl 2019-09-09, Repl 2019-09-23, Repl 2019-10-07

    Description

      Also:

      • refactor the existing Waiter and WaiterList API and unify ThreadWaiter and CallbackWaiter into a future-based waiter class.
      • optimize ReplicationCoordinatorImpl::_wakeReadyWaiters_inlock to minimize unnecessary wake-ups by ordering waiters by OpTime.

      Attachments

        Issue Links

          Activity

            People

              lingzhi.deng@mongodb.com Lingzhi Deng
              lingzhi.deng@mongodb.com Lingzhi Deng
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: