public void setCurrentChangeSnapshotId(long currentChangeSnapshotId) {
    this.currentChangeSnapshotId = currentChangeSnapshotId;
  }
Refresh snapshots for table.

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