Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
5.2.0
-
None
-
None
Description
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.
Attachments
Issue Links
- is related to
-
PHOENIX-6888 Fixing TTL and Max Lookback Issues for Phoenix Tables
- Resolved
- links to