[ https://issues.apache.org/jira/browse/HBASE-26465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
chenglei updated HBASE-26465: ----------------------------- Description: 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 may be released early when its SegmentScanner is used. > ------------------------------------------------------------------- > > 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, -- This message was sent by Atlassian Jira (v8.20.1#820001)