You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Bo Cui (JIRA)" <ji...@apache.org> on 2017/06/20 07:30:00 UTC
[jira] [Created] (HBASE-18242) Client#openRegion, deleted files
under regionencodeName/.tmp
Bo Cui created HBASE-18242:
------------------------------
Summary: Client#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
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; 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)