// Some new wal record cannot be written to the wal file in dnode1 for wal version not reset, then fversion and the record in wal file may inconsistent,
// At this time, if dnode2 down, dnode1 switched to master. After dnode2 start and restore data from dnode1, data loss will occur
voidwalResetVersion(twalhparam,uint64_tnewVer){
SWal*pWal=param;
if(pWal==0)return;
voidwalResetVersion(SWal*pWal,uint64_tnewVer){
if(pWal==NULL)return;
wInfo("vgId:%d, version reset from %"PRIu64" to %"PRIu64,pWal->vgId,pWal->version,newVer);