Skip fts probe for fts process
If cdbcomponent_getCdbComponents() caught an error threw by
function getCdbComponents, FtsNotifyProber would be called.
But if it happened inside fts process, ftp process would hang.
Skip fts probe for fts process, after that, under the same
situation, fts process would exit and then be restarted by
postmaster.
@@ -103,6 +103,9 @@ FtsNotifyProber(void)
int32 started;
int32 done;
+ if (am_ftsprobe)
+ return;
+
SpinLockAcquire(&ftsProbeInfo->lock);
initial_started = ftsProbeInfo->start_count;
SpinLockRelease(&ftsProbeInfo->lock);
