hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13473) deleted cells come back alive after the stripe compaction
Date Thu, 16 Apr 2015 22:15:59 GMT

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

Hudson commented on HBASE-13473:
--------------------------------

SUCCESS: Integrated in HBase-1.1 #402 (See [https://builds.apache.org/job/HBase-1.1/402/])
HBASE-13473 deleted cells come back alive after the stripe compaction (jeongmin kim) (tedyu:
rev 3ca1e46bd97b8b3be584a401b5bb80bb26ee211c)
* hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/StripeCompactionPolicy.java
* hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/compactions/TestStripeCompactionPolicy.java


> deleted cells come back alive after the stripe compaction
> ---------------------------------------------------------
>
>                 Key: HBASE-13473
>                 URL: https://issues.apache.org/jira/browse/HBASE-13473
>             Project: HBase
>          Issue Type: Bug
>          Components: Compaction
>    Affects Versions: 2.0.0, 1.0.1, 1.1.0, 0.98.12
>            Reporter: jeongmin kim
>            Assignee: jeongmin kim
>            Priority: Blocker
>              Labels: patch
>             Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.13
>
>         Attachments: HBASE-13473.patch, HBASE_13473-v2.patch
>
>
> during the STRIPE compaction,
> deletes(tombstones) are being dropped in 2 cases.
> 1. Compaction including L0  (includeL0 == true)
> 2. L0 has no files (canDropDeletesWithoutL0 == true)
> To drop delete marker and keep the consistency during compaction, 
> All of HFiles in the stripe has to be selected, just like major compaction.
> otherwise, after the compaction only delete markers would be gone, 
> and deleted cells (which is in the not-selected HFiles) are going to be alive again.
> In my cluster, there was no file on L0(canDropDeletesWithoutL0==true) and not all files
are selected for compaction, so some of deleted rows have come back alive and appears when
i get or scan after compactions.
> I made a patch about it.
> it checks if all files are selected before we set the majorRange of compaction request
.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message