public Map<String, String> readAttributes(IMeasurementMNode<?> node) {
    try {
      return readTagFile(node.getOffset()).getRight();
    } catch (IOException e) {
      throw new RuntimeException(e);
    }
  }
Read the attributes of this node.

@param node the node to query.
@return the attribute key-value map.
@throws RuntimeException If any IOException happens.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/tag/TagManager.java