eolivelli commented on code in PR #3632:
URL: https://github.com/apache/celeborn/pull/3632#discussion_r2944529142
##########
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:
This check is too fragile, we need a better way.
Can we add some error code ?
--
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]