Mmuzaf commented on code in PR #10140:
URL: https://github.com/apache/ignite/pull/10140#discussion_r941291475


##########
modules/core/src/main/java/org/apache/ignite/internal/client/thin/ClientCacheAffinityMapping.java:
##########
@@ -64,6 +69,11 @@ public AffinityTopologyVersion topologyVersion() {
         return topVer;
     }
 
+    /** {@inheritDoc} */
+    @Override public int compareTo(@NotNull ClientCacheAffinityMapping o) {

Review Comment:
   Fixed.



##########
modules/core/src/main/java/org/apache/ignite/internal/client/thin/ReliableChannel.java:
##########
@@ -402,6 +403,25 @@ public <T> IgniteClientFuture<T> affinityServiceAsync(
         return serviceAsync(op, payloadWriter, payloadReader);
     }
 
+    /**
+     * @param cacheName Cache name.
+     */
+    public void registerKeyPartitionMapperFactory(String cacheName) {
+        ClientPartitionAwarenessMapperFactory factory = 
clientCfg.getPartitionAwarenessMapperFactory();
+
+        if (factory == null)
+            return;
+
+        affinityCtx.putKeyMapperFactory(cacheName);

Review Comment:
   Fixed.



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