Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
None
-
None
-
None
-
None
Description
Via aoxiang from over on HBASE-22723
+ if (!closeLock.tryLock()) { + // no lock acquired. + LOG.debug("StoreScanner already has the close lokc. There is no need to updateReaders"); + return; + } + // lock acquired + updateReaders = true; + if (this.closing) { + LOG.debug("StoreScanner already closing. There is no need to updateReaders"); + return; + }
We need to close memStoreScanners in StoreScanner#updateReaders before this two return, someone else can take over the task.
Attachments
Issue Links
- is related to
-
HBASE-22072 High read/write intensive regions may cause long crash recovery
- Resolved