yujun777 commented on code in PR #35462:
URL: https://github.com/apache/doris/pull/35462#discussion_r1616025930


##########
fe/fe-core/src/main/java/org/apache/doris/transaction/DatabaseTransactionMgr.java:
##########
@@ -2627,6 +2631,10 @@ private PublishResult 
finishCheckQuorumReplicas(TransactionState transactionStat
                         // TODO always use the visible version because the 
replica version is not changed
                         long newVersion = partition.getVisibleVersion() + 1;
                         for (Replica replica : tablet.getReplicas()) {
+                            if (publishTasks.get(replica.getBackendId()) == 
null) {

Review Comment:
   don't set errorReplicaIds here,  even no this backend's publish task,  it 
may still ok for this replica.
   
   errorReplicas will update in checkReplicaContinuousVersionSucc



-- 
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

Reply via email to