Commit 67e2a864 authored by unknown's avatar unknown

ndb - gcp stop bug#9961 more printouts


ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
  bug#9961 more printouts
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
  bug#9961 more printouts
parent 7d17ed43
......@@ -10316,6 +10316,24 @@ void Dbdih::crashSystemAtGcpStop(Signal* signal)
break;
}
ndbout_c("c_copyGCISlave: sender{Data, Ref} %d %x reason: %d nextWord: %d",
c_copyGCISlave.m_senderData,
c_copyGCISlave.m_senderRef,
c_copyGCISlave.m_copyReason,
c_copyGCISlave.m_expectedNextWord);
FileRecordPtr file0Ptr;
file0Ptr.i = crestartInfoFile[0];
ptrCheckGuard(file0Ptr, cfileFileSize, fileRecord);
FileRecordPtr file1Ptr;
file1Ptr.i = crestartInfoFile[1];
ptrCheckGuard(file1Ptr, cfileFileSize, fileRecord);
ndbout_c("file[0] status: %d type: %d reqStatus: %d file1: %d %d %d",
file0Ptr.p->fileStatus, file0Ptr.p->fileType, file0Ptr.p->reqStatus,
file1Ptr.p->fileStatus, file1Ptr.p->fileType, file1Ptr.p->reqStatus
);
ndbout_c("c_COPY_GCIREQ_Counter = %s",
c_COPY_GCIREQ_Counter.getText());
ndbout_c("c_COPY_TABREQ_Counter = %s",
......
......@@ -18555,15 +18555,16 @@ Dblqh::execDUMP_STATE_ORD(Signal* signal)
{
logPartPtr.i = i;
ptrCheckGuard(logPartPtr, clogPartFileSize, logPartRecord);
ndbout_c("LP %d state: %d WW_Gci: %d gcprec: %d flq: %d currfile: %d tailFileNo: %d",
i,
logPartPtr.p->logPartState,
logPartPtr.p->waitWriteGciLog,
logPartPtr.p->gcprec,
logPartPtr.p->firstLogQueue,
logPartPtr.p->currentLogfile,
logPartPtr.p->logTailFileNo);
ndbout_c("LP %d state: %d WW_Gci: %d gcprec: %d flq: %d currfile: %d tailFileNo: %d logTailMbyte: %d",
i,
logPartPtr.p->logPartState,
logPartPtr.p->waitWriteGciLog,
logPartPtr.p->gcprec,
logPartPtr.p->firstLogQueue,
logPartPtr.p->currentLogfile,
logPartPtr.p->logTailFileNo,
logPartPtr.p->logTailMbyte);
if(gcp.i == RNIL && logPartPtr.p->gcprec != RNIL)
gcp.i = logPartPtr.p->gcprec;
......@@ -18572,11 +18573,13 @@ Dblqh::execDUMP_STATE_ORD(Signal* signal)
do
{
ptrCheckGuard(logFilePtr, clogFileFileSize, logFileRecord);
ndbout_c(" file %d(%d) FileChangeState: %d logFileStatus: %d",
logFilePtr.p->fileNo,
logFilePtr.i,
logFilePtr.p->fileChangeState,
logFilePtr.p->logFileStatus);
ndbout_c(" file %d(%d) FileChangeState: %d logFileStatus: %d currentMbyte: %d currentFilepage",
logFilePtr.p->fileNo,
logFilePtr.i,
logFilePtr.p->fileChangeState,
logFilePtr.p->logFileStatus,
logFilePtr.p->currentMbyte,
logFilePtr.p->currentFilepage);
logFilePtr.i = logFilePtr.p->nextLogFile;
} while(logFilePtr.i != first);
}
......@@ -18586,9 +18589,11 @@ Dblqh::execDUMP_STATE_ORD(Signal* signal)
ptrCheckGuard(gcp, cgcprecFileSize, gcpRecord);
for(i = 0; i<4; i++)
{
ndbout_c(" GCP %d file: %d state: %d sync: %d",
i, gcp.p->gcpFilePtr[i], gcp.p->gcpLogPartState[i],
gcp.p->gcpSyncReady[i]);
ndbout_c(" GCP %d file: %d state: %d sync: %d page: %d word: %d",
i, gcp.p->gcpFilePtr[i], gcp.p->gcpLogPartState[i],
gcp.p->gcpSyncReady[i],
gcp.p->gcpPageNo[i],
gcp.p->gcpWordNo[i]);
}
}
......
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