hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bo Cui (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18242) Client#openRegion, deleted files under regionencodeName/.tmp
Date Tue, 20 Jun 2017 07:30:00 GMT
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)

Mime
View raw message