You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Matteo Bertozzi (JIRA)" <ji...@apache.org> on 2014/03/16 21:20:43 UTC
[jira] [Updated] (HBASE-10766) SnapshotCleaner allows to delete
referenced files
[ https://issues.apache.org/jira/browse/HBASE-10766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matteo Bertozzi updated HBASE-10766:
------------------------------------
Description:
The SnapshotFileCache is checking the lastModificationTime() of the ".hbase-snapshot" directory.
But in this way "pending" snapshots created in temp are not considered.
since only the parent directory timestamp is updated.
so... if we create .hbase-snapshot/.tmp/SNAPSHOT_NAME the lastModification timestamp of .hbase-snapshot will not be updated
was:
The SnapshotFileCache is checking the lastModificationTime() of the ".hbase-snapshot" directory.
But in this way "pending" snapshots created in temp are not considered.
since only the parent directory timestamp is updated.
so... if we create .hbase-snapshot/.tmp/SNAPSHOT_NAME the lastModification timestamp of .hbase-snapshot will not chagne
> SnapshotCleaner allows to delete referenced files
> -------------------------------------------------
>
> Key: HBASE-10766
> URL: https://issues.apache.org/jira/browse/HBASE-10766
> Project: HBase
> Issue Type: Bug
> Components: snapshots
> Affects Versions: 0.98.0, 0.96.1.1, 0.94.17
> Reporter: Matteo Bertozzi
> Assignee: bharath v
> Fix For: 0.96.2, 0.94.18, 0.98.2
>
>
> The SnapshotFileCache is checking the lastModificationTime() of the ".hbase-snapshot" directory.
> But in this way "pending" snapshots created in temp are not considered.
> since only the parent directory timestamp is updated.
> so... if we create .hbase-snapshot/.tmp/SNAPSHOT_NAME the lastModification timestamp of .hbase-snapshot will not be updated
--
This message was sent by Atlassian JIRA
(v6.2#6252)