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

Client should not be able to restore/clone a snapshot after it's TTL has expired

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.5.2
    • 2.6.0, 3.0.0-alpha-4, 2.4.17, 2.5.4
    • None
    • None
    • ENV- HBase 2.5.2

    • Reviewed

    Description

      Steps:

      precondition : base.master.cleaner.snapshot.interval to 5 min in hbase-site.xml

      1. create a table t1 , put some data

      2. create a snapshot 'snapt1' with TTL 1 mins

      let the TTL expries 

      3. disable and drop table t1

      4. restore snapshot t1

      Actual : restore snapshot successful 

      Expected : restore operation should fail and throw specified snapshot TTL expried cant restore

      Note : its can consider as improvement point 

      Attachments

        Issue Links

          Activity

            People

              nihaljain.cs Nihal Jain
              Ashok shetty Ashok shetty
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: