Description
Having a regionScanner open indefinitely (due to any error condition before the close) leads to the store files not getting cleared after compaction since the already open scanner will have the store file referenced. Any subsequent flushed files for the region also get opened by the scanner and wont be cleared.