Isolate isMajorityCommittedRead waiter and regular OpTime waiter

XMLWordPrintableJSON

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

      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
            Reporter:
            Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: