You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "chenglei (Jira)" <ji...@apache.org> on 2021/11/18 12:33:00 UTC

[jira] [Updated] (HBASE-26465) MemStoreLAB may be released early when its SegmentScanner is scanning

     [ https://issues.apache.org/jira/browse/HBASE-26465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

chenglei updated HBASE-26465:
-----------------------------
    Summary: MemStoreLAB may be released early when its SegmentScanner is scanning  (was: MemStoreLAB may be released early when its SegmentScanner is used. )

> MemStoreLAB may be released early when its SegmentScanner is scanning
> ---------------------------------------------------------------------
>
>                 Key: HBASE-26465
>                 URL: https://issues.apache.org/jira/browse/HBASE-26465
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha-1, 2.4.8
>            Reporter: chenglei
>            Priority: Critical
>
> HBASE-26144 moved {{MemStore.clearSnapshot}} out of {{HStore#lock}}, but I find that because {{MemStore.clearSnapshot}}  closing {{DefaultMemStore#snapshot}}, which may be used by {{DefaultMemStore#getScanners}}, when {{DefaultMemStore#getScanners}} and {{MemStore.clearSnapshot}} execute conurrently, {{MemStoreLAB}} used by {{MemStore.clearSnapshot}}  may be released early when its {{SegmentScanner }} is scanning.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)