hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Marc Spaggiari (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7902) deletes may be removed during minor compaction, in non-standard compaction schemes
Date Wed, 27 Feb 2013 02:11:11 GMT

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

Jean-Marc Spaggiari commented on HBASE-7902:
--------------------------------------------

Sorry, I'm replying a bit late, but for this situation:
Hfile 1:
Put(ts = 2)

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

Hfile 3:
Put(ts = 1)

When we compact the 2 HFile, maybe we can "simply" keep the last Delete (if any) instead of
removing it? It will still be a useful compaction since it will remove a lot, and it will
not break the logic for the coming Hfile3?
                
> deletes may be removed during minor compaction,  in non-standard compaction schemes
> -----------------------------------------------------------------------------------
>
>                 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, HBASE-7902-v1.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

Mime
View raw message