mirror of https://github.com/citusdata/citus.git
Fix a segmentation problem
parent
658b8c4ec2
commit
3bc1d1a120
|
@ -2750,7 +2750,7 @@ SyncNodeMetadataToNodesOptional(void)
|
|||
/* we fetch the same node again to check if it's synced or not */
|
||||
WorkerNode *nodeUpdated = FindWorkerNode(workerNode->workerName,
|
||||
workerNode->workerPort);
|
||||
if (!nodeUpdated->metadataSynced)
|
||||
if (nodeUpdated==NULL || !nodeUpdated->metadataSynced)
|
||||
{
|
||||
/* set the result to FAILED to trigger the sync again */
|
||||
result = NODE_METADATA_SYNC_FAILED_SYNC;
|
||||
|
|
Loading…
Reference in New Issue