enh: print term in logging msg of raftStoreWriteFile

This commit is contained in:
Benguang Zhao 2023-03-07 15:19:47 +08:00
parent c0a835ff58
commit 62d4729eb8
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ int32_t raftStoreWriteFile(SSyncNode *pNode) {
if (taosRenameFile(file, realfile) != 0) goto _OVER;
code = 0;
sInfo("vgId:%d, succeed to write raft store file:%s, len:%d", pNode->vgId, realfile, len);
sInfo("vgId:%d, succeed to write raft store file:%s, term:%" PRId64, pNode->vgId, realfile, pStore->currentTerm);
_OVER:
if (pJson != NULL) tjsonDelete(pJson);