Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-77534

Fix diff finder to handle deleted files correctly

    • Fully Compatible
    • v7.0, v6.0, v5.0, v4.4
    • DAG 2023-05-29, DAG 2023-06-12
    • 1

      The find_changed_files function in the mongo repo currently gets the correct result but does so backwards. It thinks all of the added files were actually deleted, which is incorrect, but then does an incorrect set operation, leading to us finding the added files anyways.

      https://github.com/10gen/mongo/blob/1f8261ededebc24680a2e2c25421970968356bc5/buildscripts/patch_builds/change_data.py#L74

      We should update this function to find the correct files for the correct reason.

      https://parsley.mongodb.com/evergreen/mongodb_mongo_master_enterprise_rhel_80_64_bit_dynamic_all_feature_flags_required_security_patch_only_lint_fuzzer_sanity_patch_patch_8c64458511a257877e99a2e78278db1ea3bd14b8_645926439ccd4eda0bf4fb79_23_05_09_22_41_24/0/task?bookmarks=0,364&shareLine=111

       

            Assignee:
            mikhail.shchatko@mongodb.com Mikhail Shchatko
            Reporter:
            jeff.zambory@mongodb.com Jeffrey Zambory
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: