Add cancelation support to WaitForMajorityService using CancelationTokens

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Service arch 2020-12-28, Service Arch 2021-03-08, Service Arch 2021-03-22
    • 120
    • 3
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      waitUntilMajority should accept a CancelationToken. When the token is canceled, it should remove the appropriate OpTime from this map and the request's future must be signalled, but only if this was the only request pointing to that OpTime. This may require us to change from using SharedPromise to instead use something like a multimap with multiple promises/futures per OpTime.

            Assignee:
            George Wangensteen (Inactive)
            Reporter:
            Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: