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

Fix race condition between SnapshotManager and SnapshotCleaner

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • None
    • None

    Description

      As mbertozzi comments on HBASE-16464, there maybe race condition between SnapshotManager and SnapshotCleaner. We should use one lock when create snapshot, and cleanup should acquire the lock before take action.

      One method is pass HMaster as param into Cleaner through FileCleanerDelegate.getDeletableFiles, suggestions are welcomed.

      Attachments

        1. HBASE-16490.patch
          16 kB
          Heng Chen
        2. HBASE-16490.v1.patch
          26 kB
          Heng Chen
        3. HBASE-16490.v2.patch
          27 kB
          Heng Chen

        Issue Links

          Activity

            People

              chenheng Heng Chen
              chenheng Heng Chen
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: