Hastyshell commented on PR #59255:
URL: https://github.com/apache/doris/pull/59255#issuecomment-3689697140

   > We can add a failure handler to PushTask, so that the latch in the push 
task will count down immediately when the corresponding BE is unavailable.
   > 
   > ```
   > @Override
   > public void failedWithMsg(String errMsg) {
   >     super.failedWithMsg(errMsg);
   > 
   >     Status s = new Status(TStatusCode.CANCELLED, errMsg);
   >     countDownLatchWithStatus(getBackendId(), getTabletId(), s);
   > }
   > ```
   
   I think this can replace `checkBackendOnline`.


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