ignite-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ignite] nizhikov commented on a change in pull request #6837: IGNITE-10223: affinity list methods are added, tests are changed
Date Sun, 08 Sep 2019 08:50:51 GMT
nizhikov commented on a change in pull request #6837: IGNITE-10223: affinity list methods are
added, tests are changed
URL: https://github.com/apache/ignite/pull/6837#discussion_r321997398
 
 

 ##########
 File path: modules/core/src/main/java/org/apache/ignite/internal/processors/affinity/GridAffinityProcessor.java
 ##########
 @@ -1067,6 +1068,24 @@ public CacheAffinityProxy(String cacheName) {
             }
         }
 
+        /** {@inheritDoc} */
+        @Override
+        public List<ClusterNode> mapKeyToPrimaryAndBackupsList(K key) {
+            ctx.gateway().readLock();
 
 Review comment:
   Any reason to copy-paste implementation from `mapKeyToPrimaryAndBackups`?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message