private static long convertTags2Long(IMeasurementMNode<ICachedMNode> node) {
    return node.getOffset();
  }
These 2 convert methods are coupling with tag, template module respectively.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/mtree/impl/pbtree/schemafile/RecordUtils.java