ygerzhedovich commented on code in PR #3264:
URL: https://github.com/apache/ignite-3/pull/3264#discussion_r1524332903
##########
modules/failure-handler/src/main/java/org/apache/ignite/internal/failure/FailureProcessor.java:
##########
@@ -49,6 +51,8 @@ public class FailureProcessor implements IgniteComponent {
/** Node name. */
private final String nodeName;
+ private volatile @Nullable FailureHandler interceptor;
Review Comment:
it will be used with different threads, so it required have volatile here or
synchronized settet, which you suggested below. In this case it doesn't matter
which approach to use.
--
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]