List:Internals« Previous MessageNext Message »
From:jonas.oreland Date:July 12 2005 4:31pm
Subject:bk commit into 5.0 tree (joreland:1.1869) BUG#9961
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of jonas. When jonas does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.1869 05/07/12 16:31:15 joreland@stripped +2 -0
  ndb - gcp stop bug#9961 more printouts

  ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
    1.69 05/07/12 16:31:11 joreland@stripped +22 -17
    bug#9961 more printouts

  ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
    1.30 05/07/12 16:31:11 joreland@stripped +18 -0
    bug#9961 more printouts

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	joreland
# Host:	eel.(none)
# Root:	/home/jonas/src/mysql-5.0

--- 1.29/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp	2005-07-07 10:33:13 +02:00
+++ 1.30/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp	2005-07-12 16:31:11 +02:00
@@ -10316,6 +10316,24 @@
     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", 

--- 1.68/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp	2005-07-06 11:15:15 +02:00
+++ 1.69/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp	2005-07-12 16:31:11 +02:00
@@ -18555,15 +18555,16 @@
     {
       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 @@
       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 @@
       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]);      
       }
     }
 
Thread
bk commit into 5.0 tree (joreland:1.1869) BUG#9961jonas.oreland12 Jul