Introduce a future-based API for waiting for write concern

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 2019-09-09, Repl 2019-09-23, Repl 2019-10-07
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Lingzhi Deng
              Reporter:
              Lingzhi Deng
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: