ignite-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ignite] ygerzhedovich commented on a change in pull request #6529: IGNITE-11756: SQL: implement a table row count statistics for the local queries.
Date Wed, 22 May 2019 13:18:13 GMT
ygerzhedovich commented on a change in pull request #6529: IGNITE-11756: SQL: implement a table
row count statistics for the local queries.
URL: https://github.com/apache/ignite/pull/6529#discussion_r285124255
 
 

 ##########
 File path: modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GridH2Table.java
 ##########
 @@ -207,6 +220,16 @@ public GridH2Table(
         sysIdxsCnt = idxs.size();
 
         lock = new ReentrantReadWriteLock();
+
+        if (hasHashIndex) { // We are on affinity node if hash index exists.
 
 Review comment:
   I propose check direct sign 'cacheInfo.affinityNode()' instead of indirect one.

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