nextdreamblue commented on code in PR #11942: URL: https://github.com/apache/doris/pull/11942#discussion_r961229219
########## fe/fe-core/src/main/java/org/apache/doris/backup/RestoreJob.java: ########## @@ -927,9 +948,18 @@ private void checkAndRestoreResources() { } private boolean genFileMappingWhenBackupReplicasEqual(PartitionInfo localPartInfo, Partition localPartition, - Table localTbl, BackupPartitionInfo backupPartInfo, String partitionName, BackupOlapTableInfo tblInfo) { - short restoreReplicaNum = replicaAlloc.getTotalReplicaNum(); - short localReplicaNum = localPartInfo.getReplicaAllocation(localPartition.getId()).getTotalReplicaNum(); + Table localTbl, BackupPartitionInfo backupPartInfo, String partitionName, BackupOlapTableInfo tblInfo, Review Comment: fix code done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org