You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2024/07/21 15:25:00 UTC

[jira] [Reopened] (HBASE-28734) Improve HBase shell snapshot command Doc with TTL option

     [ https://issues.apache.org/jira/browse/HBASE-28734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Duo Zhang reopened HBASE-28734:
-------------------------------

> Improve HBase shell snapshot command Doc with TTL option 
> ---------------------------------------------------------
>
>                 Key: HBASE-28734
>                 URL: https://issues.apache.org/jira/browse/HBASE-28734
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>            Reporter: Ashok shetty
>            Assignee: Liangjun He
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 4.0.0-alpha-1
>
>
> The current HBase shell snapshot command allows users to create a snapshot of a specific table. While this command is useful, it could be enhanced by adding a TTL (Time-to-Live) option. This would allow users to specify a time period after which the snapshot would automatically be deleted.
> I propose we introduce a TTL option in the snapshot command doc as follows:
> hbase> snapshot 'sourceTable', 'snapshotName', \{TTL => '7d'}
> This would create a snapshot of 'sourceTable' called 'snapshotName' that would automatically be deleted after 7 days. The addition document of a TTL option would provide a better user experience and assist with efficient storage management.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)