From af2d7c11b5bda42d37e8be8ecc8b6d2f5909bcf1 Mon Sep 17 00:00:00 2001 From: srlch Date: Tue, 7 Jan 2025 11:35:50 +0800 Subject: [PATCH] fix Signed-off-by: srlch --- .../java/com/starrocks/lake/snapshot/ClusterSnapshotMgr.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/com/starrocks/lake/snapshot/ClusterSnapshotMgr.java b/fe/fe-core/src/main/java/com/starrocks/lake/snapshot/ClusterSnapshotMgr.java index 253fd78b84b23..aa61ccce1ae2e 100644 --- a/fe/fe-core/src/main/java/com/starrocks/lake/snapshot/ClusterSnapshotMgr.java +++ b/fe/fe-core/src/main/java/com/starrocks/lake/snapshot/ClusterSnapshotMgr.java @@ -158,7 +158,7 @@ public boolean containsAutomatedSnapshot() { public synchronized void addJob(ClusterSnapshotJob job) { if (Config.max_historical_automated_cluster_snapshot_jobs >= 1 && - historyAutomatedSnapshotJobs.size() == Config.max_historical_automated_cluster_snapshot_jobs) { + historyAutomatedSnapshotJobs.size() == Config.max_historical_automated_cluster_snapshot_jobs) { historyAutomatedSnapshotJobs.pollFirstEntry(); } historyAutomatedSnapshotJobs.put(job.getJobId(), job);