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

Anoop Sam John commented on HBASE-18145:
----------------------------------------

bq.How about this change? withHeapClose -> closeHeapAndCachedScanners
withDelayedScannersClose?
May be we need just one List for this scanners to be delayed closed? (deferred 
closed)..     Like below?
private final List<KeyValueScanner> scannersForDelayedClose = new ArrayList<>();


> The flush may cause the corrupt data for reading
> ------------------------------------------------
>
>                 Key: HBASE-18145
>                 URL: https://issues.apache.org/jira/browse/HBASE-18145
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Blocker
>             Fix For: 2.0.0, 1.4.0, 1.3.2
>
>         Attachments: HBASE-18145.v0.patch
>
>
> After HBASE-17887, the store scanner closes the memstore scanner in updating 
> the inner scanners. The chunk which stores the current data may be reclaimed. 
> So if the chunk is rewrited before we send the data to client, the client 
> will receive the corrupt data.
> This issue also breaks the TestAcid*.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to