[ https://issues.apache.org/jira/browse/HBASE-8759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13687280#comment-13687280 ]
Lars Hofhansl edited comment on HBASE-8759 at 6/18/13 10:17 PM: ---------------------------------------------------------------- That is correct. You need two major compactions and no newer Puts in order to remove family delete markers when KEEP_DELETED_CELLS is enabled. This only affects family delete markers. When I made that patch I could not find a good way around this. If you did a 2nd major-compaction before you added newer puts they'd be removed. There is a (long) explanation in HBASE-4536. was (Author: lhofhansl): That is correct. You need two major compactions and no newer Puts in order to remove family delete markers when KEEP_DELETED_CELLS is enabled. This only affects family delete markers. When I made that patch I could find a good way around that. If you did a 2nd major-compaction before you added newer puts they'd be removed. There is a (long) explanation in HBASE-4536. > Family Delete Markers not getting purged after major compaction > --------------------------------------------------------------- > > Key: HBASE-8759 > URL: https://issues.apache.org/jira/browse/HBASE-8759 > Project: HBase > Issue Type: Bug > Components: Compaction > Affects Versions: 0.94.7 > Reporter: Mujtaba Chohan > Priority: Minor > > On table with VERSIONS => '1', KEEP_DELETED_CELLS => 'true'. Family Delete > Markers does not get purged after put > delete > major compaction (they keep > on incrementing after every put > delete > major compaction) > Following is the raw scan output after 10 iterations of put > delete > major > compaction. > ROW COLUMN+CELL > > > A column=CF:, timestamp=1371512706683, > type=DeleteFamily > > A column=CF:, timestamp=1371512706394, > type=DeleteFamily > > A column=CF:, timestamp=1371512706054, > type=DeleteFamily > > A column=CF:, timestamp=1371512705763, > type=DeleteFamily > > A column=CF:, timestamp=1371512705457, > type=DeleteFamily > > A column=CF:, timestamp=1371512705149, > type=DeleteFamily > > A column=CF:, timestamp=1371512704836, > type=DeleteFamily > > A column=CF:, timestamp=1371512704518, > type=DeleteFamily > > A column=CF:, timestamp=1371512704162, > type=DeleteFamily > > A column=CF:, timestamp=1371512703779, > type=DeleteFamily > > A column=CF:COL, > timestamp=1371512706682, value=X > [~lhofhansl] > Code to repro this issue: > http://phoenix-bin.github.io/client/code/delete.java -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira