Commit 8af99710 authored by unknown's avatar unknown

Merge perch.ndb.mysql.com:/home/jonas/src/41-work

into  perch.ndb.mysql.com:/home/jonas/src/50-work


ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
  Auto merged
parents d262020f 608e9207
...@@ -8475,14 +8475,17 @@ Dbdih::resetReplicaSr(TabRecordPtr tabPtr){ ...@@ -8475,14 +8475,17 @@ Dbdih::resetReplicaSr(TabRecordPtr tabPtr){
ConstPtr<ReplicaRecord> constReplicaPtr; ConstPtr<ReplicaRecord> constReplicaPtr;
constReplicaPtr.i = replicaPtr.i; constReplicaPtr.i = replicaPtr.i;
constReplicaPtr.p = replicaPtr.p; constReplicaPtr.p = replicaPtr.p;
if (setup_create_replica(fragPtr, if (tabPtr.p->tabStorage != TabRecord::ST_NORMAL ||
setup_create_replica(fragPtr,
&createReplica, constReplicaPtr)) &createReplica, constReplicaPtr))
{ {
jam();
removeOldStoredReplica(fragPtr, replicaPtr); removeOldStoredReplica(fragPtr, replicaPtr);
linkStoredReplica(fragPtr, replicaPtr); linkStoredReplica(fragPtr, replicaPtr);
} }
else else
{ {
jam();
infoEvent("Forcing take-over of node %d due to unsufficient REDO" infoEvent("Forcing take-over of node %d due to unsufficient REDO"
" for table %d fragment: %d", " for table %d fragment: %d",
nodePtr.i, tabPtr.i, i); nodePtr.i, tabPtr.i, 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