@Override
        public void close() throws IOException {
            try {
                if (this.segments != null) {
                    for (final Segment segment : this.segments.getView()) {
                        segment.close();
                    }
                }
            } catch (Throwable e3) {
                logger.error("[Data Repair] Close data segments error", e3);
            }
        }
Repair topic storage files, rebuild index files by existing data files
@param args   Startup parameter array, including the following parts:
              The 1st parameter is the path of topic storage files;
              The 2nd parameter is the topic name(s) that needs to be repaired,
                  if not specified, all topics in the storage path will be repaired.
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/tools/StoreRepairAdmin.java