Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
-
None
Description
Steps to reproduce are as follows:
1. Create a table with region replication
create "test", "cf", \{REGION_REPLICATION => 2}
2. Load data to the table
(0...2000).each\{|i| put "test", "row#{i}", "cf:col", "val"}
3. Split the table
split "test"
After that, the state of the replica region of the split parent region (info:state_0001) is CLOSING, but the correct state is CLOSED.
hbase> scan 'hbase:meta', \{FILTER => "PrefixFilter('test')"} ROW COLUMN+CELL test column=table:state, timestamp=1534271346311, value=\x08\x00 test,,1534271345843.cc6bd353efe820b6a5ede1abfa2b05e column=info:regioninfo, timestamp=1534271348477, value={ENCODED => cc6bd353efe820b6a5ede1abfa2b05ec, NAME => 'test,,1534271345843.cc6bd353efe820b6a5ede c. 1abfa2b05ec.', STARTKEY => '', ENDKEY => '', OFFLINE => true, SPLIT => true} test,,1534271345843.cc6bd353efe820b6a5ede1abfa2b05e column=info:seqnumDuringOpen, timestamp=1534271346308, value=\x00\x00\x00\x00\x00\x00\x00\x02 c. test,,1534271345843.cc6bd353efe820b6a5ede1abfa2b05e column=info:seqnumDuringOpen_0001, timestamp=1534271346309, value=\x00\x00\x00\x00\x00\x00\x00\x02 c. test,,1534271345843.cc6bd353efe820b6a5ede1abfa2b05e column=info:server, timestamp=1534271346308, value=10.0.1.6:16020 c. test,,1534271345843.cc6bd353efe820b6a5ede1abfa2b05e column=info:server_0001, timestamp=1534271346309, value=10.0.1.6:16020 c. test,,1534271345843.cc6bd353efe820b6a5ede1abfa2b05e column=info:serverstartcode, timestamp=1534271346308, value=1534267943127 c. test,,1534271345843.cc6bd353efe820b6a5ede1abfa2b05e column=info:serverstartcode_0001, timestamp=1534271346309, value=\x00\x00\x01e9~\xE8\xD7 c. test,,1534271345843.cc6bd353efe820b6a5ede1abfa2b05e column=info:sn, timestamp=1534271348271, value=10.0.1.6,16020,1534267943127 c. test,,1534271345843.cc6bd353efe820b6a5ede1abfa2b05e column=info:sn_0001, timestamp=1534271348271, value=10.0.1.6,16020,1534267943127 c. test,,1534271345843.cc6bd353efe820b6a5ede1abfa2b05e column=info:splitA, timestamp=1534271348477, value={ENCODED => fe68bd328e37ab8a9cfa5616d7a5bb14, NAME => 'test,,1534271348168.fe68bd328e37ab8a9cfa5616d c. 7a5bb14.', STARTKEY => '', ENDKEY => 'row78'} test,,1534271345843.cc6bd353efe820b6a5ede1abfa2b05e column=info:splitB, timestamp=1534271348477, value={ENCODED => b77c219092dbbe4376d72868099f1386, NAME => 'test,row78,1534271348168.b77c219092dbbe4376d7 c. 2868099f1386.', STARTKEY => 'row78', ENDKEY => ''} test,,1534271345843.cc6bd353efe820b6a5ede1abfa2b05e column=info:state, timestamp=1534271348436, value=CLOSED c. test,,1534271345843.cc6bd353efe820b6a5ede1abfa2b05e column=info:state_0001, timestamp=1534271348271, value=CLOSING <----- Wrong state! c. ...