Commit 1c7a4620 authored by jonas@perch.ndb.mysql.com's avatar jonas@perch.ndb.mysql.com
Browse files

ndb - bug#22672

  handle also CS_CONNECTED as "abort" in handleFailedApi to keep from falling on assertion in releaseApiCon
    in case of committed dirtyRead
parent 72765abf
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -984,13 +984,6 @@ Dbtc::handleFailedApiNode(Signal* signal,
        TloopCount += 64;
        break;
      case CS_CONNECTED:
        /*********************************************************************/
        // The api record is connected to failed node. We need to release the 
        // connection and set it in a disconnected state.
        /*********************************************************************/
        jam();
        releaseApiCon(signal, apiConnectptr.i);
        break;
      case CS_REC_COMMITTING:
      case CS_RECEIVING:
      case CS_STARTED: