Restore the state of the meter in case of failing to launch the update procedure.

This commit is contained in:
hjxilinx 2019-11-04 13:47:29 +08:00
parent f5cd00282c
commit 5d1b173528
1 changed files with 1 additions and 1 deletions

View File

@ -752,7 +752,7 @@ void vnodeUpdateMeter(void *param, void *tmrId) {
vnodeSaveMeterObjToFile(pObj);
vnodeClearMeterState(pObj, TSDB_METER_STATE_UPDATING);
dTrace("vid:%d sid:%d id:%s, schema is updated", pNew->vnode, pNew->sid, pNew->meterId);
dTrace("vid:%d sid:%d id:%s, schema is updated, state:%d", pObj->vnode, pObj->sid, pObj->meterId, pObj->state);
free(pNew);
}