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

huginn updated HBASE-29572:
---------------------------
    Description: 
SnapshotFileCache periodically refreshes the cache by traversing all snapshot 
directories under .hbase-snapshot and reading the .snapshotInfo file and 
manifest to update the cache. 

If an export snapshot fails in copying manifest, which leaves behind an empty 
directory without .snapshotInfo file and manifest, corruptedSnapshot exception 
will be thrown.

> Clean up output directory when copying the manifest fails during snapshot 
> export
> --------------------------------------------------------------------------------
>
>                 Key: HBASE-29572
>                 URL: https://issues.apache.org/jira/browse/HBASE-29572
>             Project: HBase
>          Issue Type: Bug
>          Components: snapshots
>    Affects Versions: 2.4.11
>            Reporter: huginn
>            Priority: Minor
>              Labels: pull-request-available
>
> SnapshotFileCache periodically refreshes the cache by traversing all snapshot 
> directories under .hbase-snapshot and reading the .snapshotInfo file and 
> manifest to update the cache. 
> If an export snapshot fails in copying manifest, which leaves behind an empty 
> directory without .snapshotInfo file and manifest, corruptedSnapshot 
> exception will be thrown.



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

Reply via email to