hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9949) Fix the race condition between Compaction and StoreScanner.init
Date Thu, 14 Nov 2013 22:07:23 GMT

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

Ted Yu commented on HBASE-9949:
-------------------------------

By default InjectionHandler#processEvent() is no-op. There is no impact on performance.
The test uses specialized InjectionHandler:
{code}
+    StoreScannerCompactionRaceCondition ih =
+        new StoreScannerCompactionRaceCondition(s, 5);
+    InjectionHandler.set(ih);
{code}


> Fix the race condition between Compaction and StoreScanner.init
> ---------------------------------------------------------------
>
>                 Key: HBASE-9949
>                 URL: https://issues.apache.org/jira/browse/HBASE-9949
>             Project: HBase
>          Issue Type: Bug
>          Components: Scanners
>    Affects Versions: 0.89-fb
>            Reporter: Manukranth Kolloju
>            Assignee: Manukranth Kolloju
>            Priority: Minor
>             Fix For: 0.89-fb
>
>         Attachments: 9949-trunk-v1.txt, 9949-trunk-v2.txt
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> The StoreScanner constructor has multiple stages and there can be a race betwwen an ongoing
compaction and the StoreScanner constructor where we might get the list of scanners before
a compaction and seek on those scanners after the compaction.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message