[ 
https://issues.apache.org/jira/browse/HBASE-7902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586382#comment-13586382
 ] 

Elliott Clark commented on HBASE-7902:
--------------------------------------

Unless I'm missing something I'm not sure that holds if the timestamps are put 
out of order.

Hfile 1:
Put(ts = 2)

Hfile 2:
Put(ts = 4)
Delete(ts = 2)
Delete(ts = 1)

Hfile 3:
Put(ts = 1)


If you now compact File 1 and File 2 and remove the delete then put in file 3 
will be visible.



                
> deletes may be removed during minor compaction, depending on file set
> ---------------------------------------------------------------------
>
>                 Key: HBASE-7902
>                 URL: https://issues.apache.org/jira/browse/HBASE-7902
>             Project: HBase
>          Issue Type: Improvement
>          Components: Compaction
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>            Priority: Minor
>         Attachments: HBASE-7902-v0.patch, HBASE-7902-v0-with-7843.patch
>
>
> Deletes are only removed during major compaction now. However, in presence of 
> file ordering, deletes can be removed during minor compaction too, as long as 
> there's no file that is not being compacted that is older than the files that 
> are.

--
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

Reply via email to