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/12 22:49:00 UTC

[jira] [Created] (HBASE-27366) split or merge removed region under snapshot

Huaxiang Sun created HBASE-27366:
------------------------------------

             Summary: 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.10
            Reporter: Huaxiang Sun


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)