private StoreFileEntry toStoreFileEntry(StoreFileInfo info) {
    return StoreFileEntry.newBuilder().setName(info.getPath().getName()).setSize(info.getSize())
      .build();
  }
A file based store file tracker.
<p/>
For this tracking way, the store file list will be persistent into a file, so we can write the
new store files directly to the final data directory, as we will not load the broken files. This
will greatly reduce the time for flush and compaction on some object storages as a rename is
actual a copy on them. And it also avoid listing when loading store file list, which could also
speed up the loading of store files as listing is also not a fast operation on most object
storages.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/storefiletracker/FileBasedStoreFileTracker.java