提交 5d1b1735 编写于 作者: H hjxilinx

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

上级 f5cd0028
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册