Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-27366

split or merge removed region under snapshot

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4.5
    • None
    • snapshots
    • None

    Description

      We run into snapshot failures for one table with large number of regions. The event sequence is like the following:

       

      1. Snapshot process lists all regions for one table.
      2. Normalize kicks in to split some regions for the table under snapshot.
      3. split finishes and major compaction finishes. The parent region is moved to archive.
      4. 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            huaxiangsun Huaxiang Sun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: