[
https://issues.apache.org/jira/browse/HBASE-19364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16282221#comment-16282221
]
Pankaj Kumar commented on HBASE-19364:
--------------------------------------
Hi [~huaxiang], please review the patch. Have added the unit test for the same.
Below warning log has been printed,
{noformat}
2017-12-07 23:06:21,770 WARN
[RegionOpenAndInitThread-testTruncatePreserveWithReplicaRegionAfterSplit-6]
regionserver.HRegionFileSystem(955): Trying to create a region that already
exists on disk:
hdfs://127.0.0.1:56367/user/pankaj/test-data/c50d5f13-696c-4c4e-be35-1112546a1d64/.tmp/data/default/testTruncatePreserveWithReplicaRegionAfterSplit/68e707d1957d223edd6e8b7acef1cfc2
{noformat}
> Truncate_preserve fails with table when replica region > 1
> ----------------------------------------------------------
>
> Key: HBASE-19364
> URL: https://issues.apache.org/jira/browse/HBASE-19364
> Project: HBase
> Issue Type: Bug
> Components: master
> Reporter: Pankaj Kumar
> Assignee: Pankaj Kumar
> Fix For: 1.5.0
>
> Attachments: HBASE-19364-branch-1.patch
>
>
> Root cause is same as HBASE-17319, here we need to exclude secondary regions
> while reading meta.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)