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

Handle transitioning from cancelled to cancelled in NetworkInterfaceASIO

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.2
    • Affects Version/s: 3.3.1
    • Component/s: Networking
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Platforms 10 (02/19/16)
    • 0

      We can be cancelled multiple times, which triggers multiple transitions to cancelled, which triggers an invariant that we not transition to the same state.

      Add a condition at the top of transitionToState which catches this case and treats the transition as a noop.

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: