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

Lars Hofhansl commented on HBASE-9889:
--------------------------------------

Need to synchronize any changes to scannerReadPoints.
I wonder whether it would instead be correct to just add to scannerReadPoints 
at the end of the constructor.


> Make sure we clean up scannerReadPoints upon any exceptions
> -----------------------------------------------------------
>
>                 Key: HBASE-9889
>                 URL: https://issues.apache.org/jira/browse/HBASE-9889
>             Project: HBase
>          Issue Type: Sub-task
>    Affects Versions: 0.89-fb, 0.94.12, 0.96.0
>            Reporter: Amitanand Aiyer
>            Assignee: Amitanand Aiyer
>            Priority: Minor
>             Fix For: 0.96.1
>
>         Attachments: hbase-9889.diff
>
>
> If there is an exception in the creation of RegionScanner (for example, 
> exception while opening store files) the scanner Read points is not cleaned 
> up.
> Having an unused old entry in the scannerReadPoints means that flushes and 
> compactions cannot garbage-collect older versions.



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

Reply via email to