enh: print vgId in error msg within syncNodeCommit
This commit is contained in:
parent
b6c31ee67d
commit
c70d10334c
|
@ -3047,7 +3047,7 @@ int32_t syncNodeCommit(SSyncNode* ths, SyncIndex beginIndex, SyncIndex endIndex,
|
|||
} else {
|
||||
code = ths->pLogStore->syncLogGetEntry(ths->pLogStore, i, &pEntry);
|
||||
if (code != 0) {
|
||||
sError("failed to get log entry since %s. index:%lld", tstrerror(terrno), i);
|
||||
sError("vgId:%d, failed to get log entry since %s. index:%lld", ths->vgId, tstrerror(terrno), i);
|
||||
return -1;
|
||||
}
|
||||
ASSERT(pEntry != NULL);
|
||||
|
|
Loading…
Reference in New Issue