You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Shashikant Banerjee (Jira)" <ji...@apache.org> on 2020/08/12 05:29:00 UTC

[jira] [Created] (HDFS-15524) Add edit log entry for Snapshot deletion GC thread snapshot deletion

Shashikant Banerjee created HDFS-15524:
------------------------------------------

             Summary: Add edit log entry for Snapshot deletion GC thread snapshot deletion
                 Key: HDFS-15524
                 URL: https://issues.apache.org/jira/browse/HDFS-15524
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: snapshots
            Reporter: Shashikant Banerjee
            Assignee: Shashikant Banerjee


Currently, Snapshot deletion Gc thread doesn't create an edit log transaction when the actual snapshot is garbage collected. In cases as such, what might happen is, if the gc thread deletesĀ  snapshots and then namenode is restarted, snapshots which were garbage collected by the snapshot gc thread prior restart will reapper till the gc thread again picks them up for garbage collection as the edits were not captured for actual garbage collection and at the same time data might have already been deleted from the datanodes which may lead to too many spurious missing block alerts.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org