Viraj Jasani created PHOENIX-7217: ------------------------------------- Summary: MaxLookback and TTL improvements and fixes Key: PHOENIX-7217 URL: https://issues.apache.org/jira/browse/PHOENIX-7217 Project: Phoenix Issue Type: Improvement Affects Versions: 5.2.0 Reporter: Viraj Jasani Fix For: 5.2.0
Some improvements/fixes for Phoenix Table MaxLookback and TTL feature: * Use overridden value of maxLookback ms while confirming whether region level compaction is required * Use map of table with map of ColumnFamily to MaxLookback value for the override API * For the entire row version that is within max lookback window, avoid extra region level compaction * Support DeleteFamilyVersion marker with DeleteFamily markers such that DeleteFamilyVersion marker can mask only Put cells with the same timestamp. This requires changes to how we build and consume the column list for all cells that are outside the maxLookback window. The changes are required in both phoenix and hbase level compaction. We need to retain DeleteFamilyVersion markers as they can be used to perform masking of old cells (inside or outside of TTL window). The combination of DeleteFamily and DeleteFamilyVersion markers need more tests. -- This message was sent by Atlassian Jira (v8.20.10#820010)