enh: print term in logging msg of raftStoreWriteFile
This commit is contained in:
parent
c0a835ff58
commit
62d4729eb8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue