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

Isolate isMajorityCommittedRead waiter and regular OpTime waiter

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.3
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • Repl 2019-12-02, Repl 2019-12-16

      ReplicationCoordinatorImpl::_waitUntilOpTime handles both majority RC waiters and regular optime waiters. But this while loop, this predicates for waiting on a condVar and optime waiters using future make the waiting logic overcomplicated and very hard to reason about. We should consider isolating those two and get rid of the while loop.

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

              Created:
              Updated:
              Resolved: