refact: adjust logging msg in walLogEntriesComplete
This commit is contained in:
parent
d671283b8b
commit
05ba5e1ed0
|
@ -339,8 +339,9 @@ bool walLogEntriesComplete(const SWal* pWal) {
|
|||
}
|
||||
|
||||
if (!complete) {
|
||||
wError("vgId:%d, WAL log entries incomplete in range [%" PRId64 ", %" PRId64 "], aligned with snaphotVer:%" PRId64,
|
||||
pWal->cfg.vgId, pWal->vers.firstVer, pWal->vers.lastVer, pWal->vers.snapshotVer);
|
||||
wError("vgId:%d, WAL log entries incomplete in range [%" PRId64 ", %" PRId64 "], index:%" PRId64
|
||||
", snaphotVer:%" PRId64,
|
||||
pWal->cfg.vgId, pWal->vers.firstVer, pWal->vers.lastVer, index, pWal->vers.snapshotVer);
|
||||
terrno = TSDB_CODE_WAL_LOG_INCOMPLETE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue