anton-vinogradov commented on code in PR #13095:
URL: https://github.com/apache/ignite/pull/13095#discussion_r3559514650


##########
modules/zookeeper/src/main/java/org/apache/ignite/spi/discovery/zk/internal/DiscoveryMessageParser.java:
##########
@@ -45,8 +49,15 @@ public class DiscoveryMessageParser {
     private final MessageFactory msgFactory;
 
     /** */
-    public DiscoveryMessageParser(MessageFactory msgFactory) {
+    private final ZookeeperDiscoverySpi spi;

Review Comment:
   Done — the parser now stores `GridKernalContext` directly; the construction 
site (`ZookeeperDiscoveryImpl`) already runs inside `spiStart0` where the 
context is available, so the lazy `spi.ignite()` indirection wasn't buying 
anything.



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

Reply via email to