fixup: adjust a logging msg in syncNodeStartSnapshot
This commit is contained in:
parent
95188ab8c3
commit
374217ceff
|
@ -383,8 +383,6 @@ int32_t syncNodeStartSnapshot(SSyncNode *pSyncNode, SRaftId *pDestId) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
sSInfo(pSender, "snapshot sender start");
|
|
||||||
|
|
||||||
int32_t code = snapshotSenderStart(pSender);
|
int32_t code = snapshotSenderStart(pSender);
|
||||||
if (code != 0) {
|
if (code != 0) {
|
||||||
sSError(pSender, "snapshot sender start error since %s", terrstr());
|
sSError(pSender, "snapshot sender start error since %s", terrstr());
|
||||||
|
@ -803,8 +801,6 @@ static int32_t syncNodeOnSnapshotBegin(SSyncNode *pSyncNode, SyncSnapshotSend *p
|
||||||
goto _SEND_REPLY;
|
goto _SEND_REPLY;
|
||||||
}
|
}
|
||||||
|
|
||||||
sRInfo(pReceiver, "snapshot begin");
|
|
||||||
|
|
||||||
code = 0;
|
code = 0;
|
||||||
_SEND_REPLY:
|
_SEND_REPLY:
|
||||||
if (code != 0 && terrno != 0) {
|
if (code != 0 && terrno != 0) {
|
||||||
|
|
Loading…
Reference in New Issue