Looks fine. > To save memory, Leveled MeasurementMNode will be introduced.
Multiple kinds of MeasurementMNode. ----------------------------------- Xiangdong Huang School of Software, Tsinghua University 黄向东 清华大学 软件学院 周钰坤 <[email protected]> 于2021年7月15日周四 下午3:06写道: > Hi, > > The following changes will be involved into metadata module of current > version(0.13) > > 1. It will be forbidden to set a MeasurementMNode as a device or add new > measurement under an existing MeasurementMNode, which means the > MeasurementMNode will be the leaf of MTree. > > 2. The implementation of Device/Entity node will be enhanced. A new class, > EntityMNode, will be introduced to implement relevant functions that > Template doesn't support. As a result of this, it will not be allowed to > set storage group to an EntityMNode. In other words, adding > MeasurementMNode > to a StorageGroupMNode as child will be forbidden. However, it will be > allowed to set storage group to root node in future. > > 3. To save memory, Leveled MeasurementMNode will be introduced. A > SimpleMeasurementMNode will only support lastCache and trigger function. A > CompletedMeasurement will support all functions, including alias, > tag/attribute. If none of these functions are used, the MeasurementMNode > won't be created if it is using Template. > > Thanks, > Yukun Zhou >
