[
https://issues.apache.org/jira/browse/HBASE-27671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17702129#comment-17702129
]
Nihal Jain commented on HBASE-27671:
------------------------------------
Thanks [~vjasani] . I have created a PR for branch-2.4, see
[https://github.com/apache/hbase/pull/5118]
> Client should not be able to restore/clone a snapshot after it's TTL has
> expired
> --------------------------------------------------------------------------------
>
> Key: HBASE-27671
> URL: https://issues.apache.org/jira/browse/HBASE-27671
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.5.2
> Environment: ENV- HBase 2.5.2
> Reporter: Ashok shetty
> Assignee: Nihal Jain
> Priority: Minor
> Fix For: 2.6.0, 3.0.0-alpha-4, 2.5.4
>
> Attachments: Screenshot 2023-03-15 at 8.20.31 PM.png
>
>
> 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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)