Restore the state of the meter in case of failing to launch the update procedure.
This commit is contained in:
parent
f5cd00282c
commit
5d1b173528
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue