Skip to content

Commit

Permalink
HPCC-31330 FileAccessCost for dfu workunit incorrectly set
Browse files Browse the repository at this point in the history
Something went wrong when rebasing HPCC-31028 or HPCC-30974.
CDFUprogress::setFileAccessCost requires cost_type argument.

Signed-off-by: Shamser Ahmed <[email protected]>
  • Loading branch information
shamser committed Feb 28, 2024
1 parent 5f9b805 commit 45114e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dali/ft/filecopy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3826,7 +3826,7 @@ void FileSprayer::updateTargetProperties()
curProps.setPropInt64(getDFUQResultFieldName(DFUQRFnumDiskReads), prevNumReads + totalNumReads);
curProps.setPropInt64(getDFUQResultFieldName(DFUQRFreadCost), legacyReadCost + prevReadCost + totalReadCost);
}
progressReport->setFileAccessCost(cost_type2money(totalReadCost+totalWriteCost));
progressReport->setFileAccessCost(totalReadCost+totalWriteCost);
if (error)
throw error.getClear();
}
Expand Down

0 comments on commit 45114e7

Please sign in to comment.