[
https://issues.apache.org/jira/browse/HDFS-16121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephen O'Donnell updated HDFS-16121:
-------------------------------------
Fix Version/s: 3.3.2
3.2.3
> Iterative snapshot diff report can generate duplicate records for creates,
> deletes and Renames
> ----------------------------------------------------------------------------------------------
>
> Key: HDFS-16121
> URL: https://issues.apache.org/jira/browse/HDFS-16121
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: snapshots
> Reporter: Srinivasu Majeti
> Assignee: Shashikant Banerjee
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.4.0, 3.2.3, 3.3.2
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Currently, iterative snapshot diff report first traverses the created list
> for a directory diff and then the deleted list. If the deleted list size is
> lesser than the created list size, the offset calculation in the respective
> list seems wrong. So the next iteration of diff report generation call, it
> will start iterating the already processed in the created list leading to
> duplicate entries in the list.
> Fix is to correct the offset calculation during the traversal of the deleted
> list.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]