Merge pull request #18685 from taosdata/feature/3.0_sync_pipeline

fix(sync): fix snapshot receiver waiting time
This commit is contained in:
Shengliang Guan 2022-12-05 12:00:38 +08:00 committed by GitHub
commit 6296057ebb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -548,6 +548,7 @@ _START_RECEIVER:
sNTrace(pSyncNode, "snapshot receiver pre waitting for true time, now:%" PRId64 ", stime:%" PRId64, timeNow,
pMsg->startTime);
taosMsleep(10);
timeNow = taosGetTimestampMs();
}
if (snapshotReceiverIsStart(pReceiver)) {