pallavithegod commented on code in PR #3362:
URL: https://github.com/apache/hugegraph/pull/3362#discussion_r4306782855


##########
hugegraph-store/hg-store-core/src/main/java/org/apache/hugegraph/store/HgStoreEngine.java:
##########
@@ -181,6 +180,8 @@ public synchronized boolean init(final HgStoreEngineOptions 
opts) {
             dataManager.setMetaManager(partitionManager);
             dataManager.setCmdClient(hgCmdClient);
         }
+        // Registration can restore partition engines immediately, so 
initialize their owners first.
+        heartbeatService.init(options);

Review Comment:
   The invalid-shard subprocess now drives real HeartbeatService.init and 
registration through the production restore worker, and shutdown joins that 
worker before owner closure. The stale comment is updated, and reconnect tests 
wait for the initial Up, Offline, and final Up callbacks.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to