Sanjeet Malhotra created PHOENIX-7593:
-----------------------------------------

             Summary: Enable CompactionScanner for flushes
                 Key: PHOENIX-7593
                 URL: https://issues.apache.org/jira/browse/PHOENIX-7593
             Project: Phoenix
          Issue Type: Improvement
    Affects Versions: 5.2.1, 5.2.2, 5.3
            Reporter: Sanjeet Malhotra
            Assignee: Sanjeet Malhotra


PHOENIX-7402 removed the preFlush hook because we couldn't query syscat to get 
the PTable object in the context of flush. This was needed to get table level 
max lookback stored in SYSCAT and emptyCF/emptyCQ. PHOENIX-7587 has reverted 
table level max lookback change as now we have an alternative but to introduce 
preFlush hook back we need a way to determine emptyCF/emptyCQ in 
CompactionScanner w/o retrieving PTable from syscat. 

preFlush hook is important to avoid writing multiple versions of the same row 
to the storefile.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to