[
https://issues.apache.org/jira/browse/HBASE-22537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16867268#comment-16867268
]
Y. SREENIVASULU REDDY commented on HBASE-22537:
-----------------------------------------------
Thanks [~wchevreuil] for your valuable suggestion.
sorry for the late reply, I am busy with internal version activities.
As you reverted the original fix is fine, and changing in UnassignProcedure is
good.
https://github.com/apache/hbase/pull/307/files#r293916468
will go ahead with your suggested proposal as mentioned in the [PR
|https://github.com/apache/hbase/pull/307]
https://github.com/apache/hbase/pull/307/files#r293917693
Coming to the testCode, will remove unused variable as you mentioned
https://github.com/apache/hbase/pull/307/files#r293919137
And your next comment on insertData() method logic, I just reused the logic
done in TestSplitTableRegionProcedure.
https://github.com/apache/hbase/pull/307/files#r293921574
[~wchevreuil], please provide If you have any other suggestions and comments.
> Split happened Replica region can not be deleted after deleting table
> successfully and restarting RegionServer
> --------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-22537
> URL: https://issues.apache.org/jira/browse/HBASE-22537
> Project: HBase
> Issue Type: Bug
> Components: Region Assignment
> Affects Versions: 2.1.1
> Reporter: Y. SREENIVASULU REDDY
> Priority: Minor
> Fix For: 2.1.6
>
> Attachments: HBASE-22537.branch-2.1.002.patch,
> HBASE-22537.branch-2.1.patch
>
>
> [Test step]
> 1.create a table (set RegionReplication=2).
> 2.insert data to the table utill region be splitted.
> 3.Disable and Drop the table.
> 4.Parent replica region holding Regionserver, Kill forcefully
> 5.HBase WebUI will show that the replica regions will be in RIT.
> [Expect Output]
> Parent replica region should be deleted.
> [Actual Output]
> Parent replica region still exists.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)