kadirozde commented on code in PR #1506:
URL: https://github.com/apache/phoenix/pull/1506#discussion_r1016965266


##########
phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionlessQueryServicesImpl.java:
##########
@@ -159,7 +159,14 @@ public ConnectionlessQueryServicesImpl(QueryServices 
services, ConnectionInfo co
     }
 
     private PMetaData newEmptyMetaData() {
-        return new PMetaDataImpl(INITIAL_META_DATA_TABLE_CAPACITY, getProps());
+        long updateCacheFrequency = (Long) 
ConnectionProperty.UPDATE_CACHE_FREQUENCY.getValue(
+                
getProps().get(QueryServices.DEFAULT_UPDATE_CACHE_FREQUENCY_ATRRIB));
+        // We can have zero update cache frequency for connectionless query 
services as we need to keep the

Review Comment:
   Did we mean "We cannot" here?



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