Commit 5ad0f036 authored by unknown's avatar unknown

ndb - bug#22672

  handle also CS_CONNECTED as "abort" in handleFailedApi to keep from falling on assertion in releaseApiCon
    in case of committed dirtyRead


ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  handle also CS_CONNECTED as "abort" to keep from falling on assertion in releaseApiCon
    in case of committed dirtyRead
parent 4b6e6da6
...@@ -984,13 +984,6 @@ Dbtc::handleFailedApiNode(Signal* signal, ...@@ -984,13 +984,6 @@ Dbtc::handleFailedApiNode(Signal* signal,
TloopCount += 64; TloopCount += 64;
break; break;
case CS_CONNECTED: 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_REC_COMMITTING:
case CS_RECEIVING: case CS_RECEIVING:
case CS_STARTED: case CS_STARTED:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment