[
https://issues.apache.org/jira/browse/HBASE-18242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16059808#comment-16059808
]
Enis Soztutar commented on HBASE-18242:
---------------------------------------
Is this related to mounting snapshots without restoring them?
HRegion already has a "read-only" mode which does not do any action (like
replaying recovered edits, removing tmp files etc) that we can make use of.
> ClientSideRegionScanner#openRegion, deleted files under regionEncodeName/.tmp
> -----------------------------------------------------------------------------
>
> Key: HBASE-18242
> URL: https://issues.apache.org/jira/browse/HBASE-18242
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.98.10, 1.3.0
> Reporter: Bo Cui
> Priority: Minor
>
> There are two ways to open region:
> 1, RS#openRegion:flush, compact, split, merge, scan, get, etc.
> 2, Client#openRegion: only scan, get
> Either way, all files under
> /hbase/data/default/TableName/RegionEncodeName/.tmp will be deleted when
> region is initialized
> For method 2, this should not happen: the client opening region can only read
> data; there is no possibility of compaction or flush; if RS is processing
> compact, and client removes the tmp file, the RS needs to be re executed.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)