Loading storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp +14 −4 Original line number Diff line number Diff line Loading @@ -10678,6 +10678,12 @@ void Dbdih::execLCP_FRAG_REP(Signal* signal) Uint32 started = lcpReport->maxGciStarted; Uint32 completed = lcpReport->maxGciCompleted; if (started > c_lcpState.lcpStopGcp) { jam(); c_lcpState.lcpStopGcp = started; } if(tableDone){ jam(); Loading Loading @@ -11218,7 +11224,12 @@ void Dbdih::allNodesLcpCompletedLab(Signal* signal) signal->theData[0] = NDB_LE_LocalCheckpointCompleted; //Event type signal->theData[1] = SYSFILE->latestLCP_ID; sendSignal(CMVMI_REF, GSN_EVENT_REP, signal, 2, JBB); if (c_newest_restorable_gci > c_lcpState.lcpStopGcp) { jam(); c_lcpState.lcpStopGcp = c_newest_restorable_gci; } /** * Start checking for next LCP Loading Loading @@ -12088,13 +12099,12 @@ void Dbdih::findMinGci(ReplicaRecordPtr fmgReplicaPtr, lcpNo = fmgReplicaPtr.p->nextLcp; do { ndbrequire(lcpNo < MAX_LCP_STORED); if (fmgReplicaPtr.p->lcpStatus[lcpNo] == ZVALID && fmgReplicaPtr.p->maxGciStarted[lcpNo] < c_newest_restorable_gci) if (fmgReplicaPtr.p->lcpStatus[lcpNo] == ZVALID) { jam(); keepGci = fmgReplicaPtr.p->maxGciCompleted[lcpNo]; oldestRestorableGci = fmgReplicaPtr.p->maxGciStarted[lcpNo]; ndbrequire(((int)oldestRestorableGci) >= 0); ndbassert(fmgReplicaPtr.p->maxGciStarted[lcpNo] <c_newest_restorable_gci); return; } else { jam(); Loading storage/ndb/src/ndbapi/TransporterFacade.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1501,9 +1501,9 @@ void PollGuard::unlock_and_signal() if (t_signal_cond_waiter) t_signal_cond_waiter->set_poll_owner(true); } m_tp->unlock_mutex(); if (t_signal_cond_waiter) t_signal_cond_waiter->cond_signal(); m_tp->unlock_mutex(); m_locked=false; } Loading Loading
storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp +14 −4 Original line number Diff line number Diff line Loading @@ -10678,6 +10678,12 @@ void Dbdih::execLCP_FRAG_REP(Signal* signal) Uint32 started = lcpReport->maxGciStarted; Uint32 completed = lcpReport->maxGciCompleted; if (started > c_lcpState.lcpStopGcp) { jam(); c_lcpState.lcpStopGcp = started; } if(tableDone){ jam(); Loading Loading @@ -11218,7 +11224,12 @@ void Dbdih::allNodesLcpCompletedLab(Signal* signal) signal->theData[0] = NDB_LE_LocalCheckpointCompleted; //Event type signal->theData[1] = SYSFILE->latestLCP_ID; sendSignal(CMVMI_REF, GSN_EVENT_REP, signal, 2, JBB); if (c_newest_restorable_gci > c_lcpState.lcpStopGcp) { jam(); c_lcpState.lcpStopGcp = c_newest_restorable_gci; } /** * Start checking for next LCP Loading Loading @@ -12088,13 +12099,12 @@ void Dbdih::findMinGci(ReplicaRecordPtr fmgReplicaPtr, lcpNo = fmgReplicaPtr.p->nextLcp; do { ndbrequire(lcpNo < MAX_LCP_STORED); if (fmgReplicaPtr.p->lcpStatus[lcpNo] == ZVALID && fmgReplicaPtr.p->maxGciStarted[lcpNo] < c_newest_restorable_gci) if (fmgReplicaPtr.p->lcpStatus[lcpNo] == ZVALID) { jam(); keepGci = fmgReplicaPtr.p->maxGciCompleted[lcpNo]; oldestRestorableGci = fmgReplicaPtr.p->maxGciStarted[lcpNo]; ndbrequire(((int)oldestRestorableGci) >= 0); ndbassert(fmgReplicaPtr.p->maxGciStarted[lcpNo] <c_newest_restorable_gci); return; } else { jam(); Loading
storage/ndb/src/ndbapi/TransporterFacade.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1501,9 +1501,9 @@ void PollGuard::unlock_and_signal() if (t_signal_cond_waiter) t_signal_cond_waiter->set_poll_owner(true); } m_tp->unlock_mutex(); if (t_signal_cond_waiter) t_signal_cond_waiter->cond_signal(); m_tp->unlock_mutex(); m_locked=false; } Loading