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

Isolate isMajorityCommittedRead waiter and regular OpTime waiter

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.3
    • Replication
    • None
    • Fully Compatible
    • Repl 2019-12-02, Repl 2019-12-16

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: