@Override
  public void deleteTableDevicesInBlackList(
      final DeleteTableDevicesInBlackListNode rollbackTableDevicesBlackListNode)
      throws MetadataException {
    final List<PartialPath> paths =
        DeleteDevice.constructPaths(
            PathUtils.unQualifyDatabaseName(databaseFullPath),
            rollbackTableDevicesBlackListNode.getTableName(),
            rollbackTableDevicesBlackListNode.getPatternInfo());
    for (final PartialPath pattern : paths) {
      mTree.deleteTableDevicesInBlackList(
          pattern,
          size ->
              deviceAttributeStore.removeAttribute(
                  size, rollbackTableDevicesBlackListNode.getTableName()),
          deviceAttributeCacheUpdater::invalidate);
    }
    writeToMLog(rollbackTableDevicesBlackListNode);
  }
remove the node from the tag inverted index
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/impl/SchemaRegionMemoryImpl.java