Shashikant Banerjee created HDFS-13227:
------------------------------------------
Summary: Add a method to calculate cumulative diff over multiple
snapshots in DirectoryDiffList
Key: HDFS-13227
URL: https://issues.apache.org/jira/browse/HDFS-13227
Project: Hadoop HDFS
Issue Type: Improvement
Components: snapshots
Reporter: Shashikant Banerjee
Assignee: Shashikant Banerjee
This Jira proposes to add an API in DirectoryWithSnapshotFeature#f
DirectoryDiffList which will return minimal list of diffs needed to combine to
get the cumulative diff between two given snapshots. The same method will be
made use while constructing the childrenList for a directory.
DirectoryWithSnapshotFeature#getChildrenList and
DirectoryWithSnapshotFeature#computeDiffBetweenSnapshots will make use of the
same method to get the cumulative diff. When snapshotSkipList, with minimal set
of diffs to combine in order to get the cumulative diff, the overall
computation will be faster.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]