sk0x50 commented on code in PR #3090:
URL: https://github.com/apache/ignite-3/pull/3090#discussion_r1479733892
##########
modules/api/src/main/java/org/apache/ignite/lang/ErrorGroups.java:
##########
@@ -580,4 +580,17 @@ public static class PlacementDriver {
/** Primary replica await error. */
public static final int PRIMARY_REPLICA_AWAIT_ERR =
PLACEMENT_DRIVER_ERR_GROUP.registerErrorCode((short) 2);
}
+
+ /** Critical workers error group. */
+ @ErrorCodeGroup
+ public static class CriticalWorkers {
Review Comment:
It seems to me that using a specific error code is better than using a
general internal error even though a node failed due to a blocked critical
worker.
--
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]