enh: taosMsleep 1 on syncLogStorePersist failure
This commit is contained in:
parent
1f21e769e5
commit
d31ee66d63
|
@ -482,6 +482,7 @@ int64_t syncLogBufferProceed(SSyncLogBuffer* pBuf, SSyncNode* pNode, SyncTerm* p
|
||||||
if (syncLogStorePersist(pLogStore, pNode, pEntry) < 0) {
|
if (syncLogStorePersist(pLogStore, pNode, pEntry) < 0) {
|
||||||
sError("vgId:%d, failed to persist sync log entry from buffer since %s. index:%" PRId64, pNode->vgId, terrstr(),
|
sError("vgId:%d, failed to persist sync log entry from buffer since %s. index:%" PRId64, pNode->vgId, terrstr(),
|
||||||
pEntry->index);
|
pEntry->index);
|
||||||
|
taosMsleep(1);
|
||||||
goto _out;
|
goto _out;
|
||||||
}
|
}
|
||||||
ASSERT(pEntry->index == pBuf->matchIndex);
|
ASSERT(pEntry->index == pBuf->matchIndex);
|
||||||
|
|
Loading…
Reference in New Issue