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

Verify that a snapshot is not corrupted before restoring it

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.98.0, 0.96.0, 0.94.14
    • Fix Version/s: 0.98.0, 0.96.1, 0.94.15
    • Component/s: snapshots
    • Labels:
      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-v0.patch
          10 kB
          Matteo Bertozzi
        2. HBASE-10111-v1.patch
          10 kB
          Matteo Bertozzi

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: