@Override
                    public int compare(final Segment o1, final Segment o2) {
                        if (o1.getStart() == o2.getStart()) {
                            return 0;
                        } else if (o1.getStart() > o2.getStart()) {
                            return 1;
                        } else {
                            return -1;
                        }
                    }
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