Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-16121

Iterative snapshot diff report can generate duplicate records for creates, deletes and Renames

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shashikant Shashikant Banerjee
                Reporter:
                smajeti Srinivasu Majeti
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m