private void persistTableRuntime() {
    doAs(TableMetaMapper.class, mapper -> mapper.insertTableRuntime(this));
  }
Refresh snapshots for table.

@param table - table
@return refreshed snapshotId
amoro-ams/src/main/java/org/apache/amoro/server/table/DefaultOptimizingState.java