You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Huaxiang Sun (Jira)" <ji...@apache.org> on 2022/09/13 15:50:00 UTC
[jira] [Updated] (HBASE-27366) split or merge removed region under snapshot
[ https://issues.apache.org/jira/browse/HBASE-27366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Huaxiang Sun updated HBASE-27366:
---------------------------------
Affects Version/s: 2.4.5
(was: 2.4.10)
> 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)