You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2022/09/22 09:07:39 UTC

[GitHub] [ignite-3] isapego commented on a diff in pull request #1112: IGNITE-17725 Implement Partition Awareness in Java client

isapego commented on code in PR #1112:
URL: https://github.com/apache/ignite-3/pull/1112#discussion_r977399544


##########
modules/client/src/main/java/org/apache/ignite/internal/client/ReliableChannel.java:
##########
@@ -606,6 +621,21 @@ private void initAllChannelsAsync() {
         );
     }
 
+    private void onTopologyAssignmentChanged(ClientChannel clientChannel) {
+        // NOTE: Multiple channels will send the same update to us, resulting in multiple cache invalidations.
+        // This could be solved with a cluster-wide AssignmentVersion, but we don't have that.

Review Comment:
   Let's select a single server that will be used to monitor changes in assignment. We have heartbeats anyway so we will get updates from it even if we do not use it for communication. 



-- 
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: notifications-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org