Fix range deleter service race condition with shared promise in step up and shutdowns

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      BF-40934 is an invariant as a result of a race condition where during a primary election, nodes can step up and invoke the range deleter service, causing _onServiceUpPromise
      to be created. When step up is completed, the promise will be completed asynchronously at some point in the future, while when the node is shutdown, the same promise will attempt to be completed

      The fix is to ensure that the asynchronous _serviceUpPromise only completes if it has not already been completed. 

            Assignee:
            David Chen
            Reporter:
            David Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: