fix(sync): fix snapshot receiver waiting time

This commit is contained in:
Minghao Li 2022-12-05 10:18:14 +08:00
parent 575c5e89fc
commit 3d3e4b6d83
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)) {