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

Reply via email to