Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: srlch <[email protected]>
  • Loading branch information
srlch committed Jan 17, 2025
1 parent d0ad547 commit 2b70543
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,10 @@
import com.starrocks.storagevolume.StorageVolume;
import com.starrocks.thrift.TBrokerFileStatus;
import org.apache.hadoop.fs.Path;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import java.util.List;

public class ClusterSnapshotUtils {
public static final Logger LOG = LogManager.getLogger(ClusterSnapshotUtils.class);

public static String getSnapshotImagePath(StorageVolume sv, String snapshotName) {
return String.join("/", sv.getLocations().get(0),
GlobalStateMgr.getCurrentState().getStarOSAgent().getRawServiceId(), "meta/image", snapshotName);
Expand Down

0 comments on commit 2b70543

Please sign in to comment.