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

Verify that a snapshot is not corrupted before restoring it

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.98.0, 0.96.0, 0.94.14
    • 0.98.0, 0.96.1, 0.94.15
    • snapshots
    • None

    Description

      To avoid assigning/opening regions with missing files, verify that the snapshot is not corrupted before restoring/cloning it.

      In 96 a corrupted file in a region is "not a problem" since the assignment will give up after awhile.
      In 94 having a corrupted file in a region means looping forever, on "enable", until manual intervention. (Easy way to test this is create a table, disable it, add a corrupted reference file and enable the table to start looping: you can use echo "foo" > aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)

      Attachments

        1. HBASE-10111-v1.patch
          10 kB
          Matteo Bertozzi
        2. HBASE-10111-v0.patch
          10 kB
          Matteo Bertozzi

        Activity

          People

            mbertozzi Matteo Bertozzi
            mbertozzi Matteo Bertozzi
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: