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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to