List:Commits« Previous MessageNext Message »
From:Jonas Oreland Date:June 28 2010 9:13am
Subject:bzr commit into mysql-5.1-telco-6.3 branch (jonas:3229) Bug#54859
View as plain text  
#At file:///home/jonas/src/telco-6.3/ based on revid:jonas@stripped

 3229 Jonas Oreland	2010-06-28
      ndb - bug#54859 - use correct state-variable when computing redo intervals

    modified:
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
=== modified file 'storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp'
--- a/storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp	2010-06-18 11:10:41 +0000
+++ b/storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp	2010-06-28 09:13:00 +0000
@@ -13275,10 +13275,12 @@ Dbdih::findBestLogNode(CreateReplicaReco
   while (fblReplicaPtr.i != RNIL) {
     jam();
     ptrCheckGuard(fblReplicaPtr, creplicaFileSize, replicaRecord);
-    if (checkNodeAlive(fblReplicaPtr.p->procNode)) {
+    if (m_sr_nodes.get(fblReplicaPtr.p->procNode))
+    {
       jam();
       Uint32 fliStopGci = findLogInterval(fblReplicaPtr, startGci);
-      if (fliStopGci > fblStopGci) {
+      if (fliStopGci > fblStopGci)
+      {
         jam();
         fblStopGci = fliStopGci;
         fblFoundReplicaPtr = fblReplicaPtr;
@@ -13290,10 +13292,12 @@ Dbdih::findBestLogNode(CreateReplicaReco
   while (fblReplicaPtr.i != RNIL) {
     jam();
     ptrCheckGuard(fblReplicaPtr, creplicaFileSize, replicaRecord);
-    if (checkNodeAlive(fblReplicaPtr.p->procNode)) {
+    if (m_sr_nodes.get(fblReplicaPtr.p->procNode))
+    {
       jam();
       Uint32 fliStopGci = findLogInterval(fblReplicaPtr, startGci);
-      if (fliStopGci > fblStopGci) {
+      if (fliStopGci > fblStopGci)
+      {
         jam();
         fblStopGci = fliStopGci;
         fblFoundReplicaPtr = fblReplicaPtr;


Attachment: [text/bzr-bundle] bzr/jonas@mysql.com-20100628091300-kaiiz31c6yq1aqz5.bundle
Thread
bzr commit into mysql-5.1-telco-6.3 branch (jonas:3229) Bug#54859Jonas Oreland28 Jun