ChinmaySKulkarni commented on a change in pull request #628: PHOENIX-5546:
TASK_TS being set as HConstants.LATEST_TIMESTAMP in SYSTEM.TASK table
URL: https://github.com/apache/phoenix/pull/628#discussion_r344996277
##########
File path:
phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
##########
@@ -725,6 +719,20 @@ public MetaDataMutationResult updateCache(PName
origTenantId, String schemaName,
return result;
}
+ // Do not make rpc to getTable if
+ // 1. table is a system table that does not have a ROW_TIMESTAMP column OR
+ // 2. table was already resolved as of that timestamp OR
+ // 3. table does not have a ROW_TIMESTAMP column and age is less then
UPDATE_CACHE_FREQUENCY
+ private boolean avoidRpcToGetTable(boolean alwaysHitServer, Long
resolvedTimestamp,
Review comment:
@twdsilva made the change as per your review. Please take a look.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services