virajjasani opened a new pull request, #2230:
URL: https://github.com/apache/phoenix/pull/2230

   Co-authored-by: Palash Chauhan <[email protected]>
   
   Jira: PHOENIX-7671
   
   TTL of the CDC index is same as the maxLookback configured at the cluster 
level. If the data table has different value of maxLookback than cluster level, 
the table level maxLookback is not used as TTL by the cdc index of the same 
data table. Any table property sync from the data table to index table can only 
be efficiently done if the table property is stored in SYSTEM.CATALOG.
   
   The maxLookback is not stored in SYSTEM.CATALOG, however it can be stored in 
HBase TableDescriptor.
   
   The purpose of this PR is to provide CDC DDL statement with maxLookback 
value that should be used as CDC index maxLookback (and therefore it's TTL) 
value, regardless of the maxLookback value configured at the cluster level. 
This allows various CDC indexes to have their own TTL values.


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