Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
For a given task, if there is more than one attempt then deduplication logic kicks in.
Utilities.compareTempOrDuplicateFiles()
The logic uses file size and picks the one with largest size. This logic is very fragile.
ideally, it should pick the successful attempt's file.
However, a simpler solution is to pick the newest attempt and also checking the file size for the newest attempt is the largest.
If not, throw an exception.
cc Gopal Vijayaraghavan Thejas Nair Jason Dere Eugene Koifman