mzhou-oai commented on code in PR #3632:
URL: https://github.com/apache/celeborn/pull/3632#discussion_r2944661300
##########
common/src/main/java/org/apache/celeborn/common/util/ExceptionUtils.java:
##########
@@ -73,4 +73,16 @@ public static boolean connectFail(String message) {
|| (message.equals("Connection reset by peer"))
|| (message.startsWith("Failed to send request "));
}
+
+ public static boolean isStaleStreamChunkFetchFailure(Throwable throwable) {
+ Throwable current = throwable;
+ while (current != null) {
+ String message = current.getMessage();
+ if (message != null && message.contains("is not registered with
worker")) {
Review Comment:
ok, just did an attempt, ChunkFetchFailureException doesn't carry an error
code ,and it's hard to wire in RPC. see the commit history for the attempts.
--
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]