[
https://issues.apache.org/jira/browse/HBASE-27366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17603641#comment-17603641
]
Huaxiang Sun commented on HBASE-27366:
--------------------------------------
Thanks [~zhangduo]. Will take a more close look based on your input, will try
to come up with an unitest case to reproduce the issue. also correct the
version to 2.4.5.
> split or merge removed region under snapshot
> --------------------------------------------
>
> Key: HBASE-27366
> URL: https://issues.apache.org/jira/browse/HBASE-27366
> Project: HBase
> Issue Type: Bug
> Components: snapshots
> Affects Versions: 2.4.5
> Reporter: Huaxiang Sun
> Priority: Major
>
> We run into snapshot failures for one table with large number of regions. The
> event sequence is like the following:
>
> # Snapshot process lists all regions for one table.
> # Normalize kicks in to split some regions for the table under snapshot.
> # split finishes and major compaction finishes. The parent region is moved
> to archive.
> # When the Snapshot processes the parent region, it does not exist and
> snapshot fails.
> Since snapshot process acquires the table lock, but there is no table lock
> acquired in split or merge process, they crash into each other.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)