mirror of https://github.com/citusdata/citus.git
wip
parent
793bc3cc04
commit
8698ca8cdc
|
@ -204,6 +204,7 @@ StartMetadataSyncToNode(const char *nodeNameString, int32 nodePort)
|
||||||
}
|
}
|
||||||
|
|
||||||
UseCoordinatedTransaction();
|
UseCoordinatedTransaction();
|
||||||
|
|
||||||
if (!NodeIsPrimary(workerNode))
|
if (!NodeIsPrimary(workerNode))
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
@ -213,9 +214,11 @@ StartMetadataSyncToNode(const char *nodeNameString, int32 nodePort)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
SyncMetadataSnapshotToNode(workerNode, raiseInterrupts);
|
|
||||||
MarkNodeHasMetadata(nodeNameString, nodePort, true);
|
MarkNodeHasMetadata(nodeNameString, nodePort, true);
|
||||||
MarkNodeMetadataSynced(workerNode->workerName, workerNode->workerPort, true);
|
MarkNodeMetadataSynced(workerNode->workerName, workerNode->workerPort, true);
|
||||||
|
|
||||||
|
SyncMetadataSnapshotToNode(workerNode, raiseInterrupts);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue