[ https://issues.apache.org/jira/browse/HBASE-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14311828#comment-14311828 ]
Lars Hofhansl commented on HBASE-1521: -------------------------------------- Is this still relevant? We do treat deletes in minor compactions (we delete any Cell that is affected by a delete). Delete markers themselves are only removed during major compactions. Seems we can close this 5 year old issue. > Optimize codepath for minor compactions > --------------------------------------- > > Key: HBASE-1521 > URL: https://issues.apache.org/jira/browse/HBASE-1521 > Project: HBase > Issue Type: Improvement > Affects Versions: 0.20.0, 0.90.0 > Reporter: Jonathan Gray > Assignee: Amitanand Aiyer > > There are some additional optimizations in the specialized StoreScanner and > also in HFile for minor compactions. For example, there is some KV > disassembling and sanity checking in HFile even though in a minor compaction > these checks have already been run during the flush. > Another area to discuss is whether we should actually process deletes during > minor compactions. It's not especially expensive (ScanDeleteTracker is quite > simple) but it requires looking at both the row and the qualifier value of > every single KV. Removing this would drop our axiom that "Deletes only apply > to later storefiles", which is used during Get processing to have more > efficient delete handling. -- This message was sent by Atlassian JIRA (v6.3.4#6332)