@Override
  public void update() throws MetadataException {
    while (super.hasNext()) {
      super.next();
    }
    if (!isSuccess()) {
      Throwable e = getFailure();
      throw new MetadataException(e.getMessage(), e);
    }
  }
To traverse subtree under root.sg, e.g., init Traverser(root, "root.sg.**")

@param startNode denote which tree to traverse by passing its root
@param path use wildcard to specify which part to traverse
@param store MTree store to traverse
@param isPrefixMatch prefix match or not
@param scope traversing scope
@throws MetadataException path does not meet the expected rules
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/mtree/traverser/updater/EntityUpdater.java