Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
w41ter committed Dec 12, 2024
1 parent 7a50db4 commit eb81f2c
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -600,13 +600,12 @@ private Status prepareSnapshotTaskForOlapTableWithoutLock(Database db, OlapTable
Partition partition = olapTable.getPartition(partName, false); // exclude tmp partitions
if (partition == null) {
if (olapTable.getPartition(partName, true) != null) {
status = new Status(ErrCode.NOT_FOUND, "backup tmp partition " + partName
return new Status(ErrCode.NOT_FOUND, "backup tmp partition " + partName
+ " in table " + backupTableRef.getName().getTbl() + " is not supported");
} else {
status = new Status(ErrCode.NOT_FOUND, "partition " + partName
return new Status(ErrCode.NOT_FOUND, "partition " + partName
+ " does not exist in table " + backupTableRef.getName().getTbl());
}
return;
}
}
}
Expand Down

0 comments on commit eb81f2c

Please sign in to comment.