refact: adjust logging msg in walLogEntriesComplete

This commit is contained in:
Benguang Zhao 2023-10-08 17:42:20 +08:00
parent d671283b8b
commit 05ba5e1ed0
1 changed files with 3 additions and 2 deletions

View File

@ -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;
}