mirror of https://github.com/BOINC/boinc.git
client: check for missing output files even if already NOT_PRESENT
Handles case where output file disappears during client upgrade
This commit is contained in:
parent
5e9528a3e1
commit
9e58d7cd5b
|
@ -507,16 +507,16 @@ void CLIENT_STATE::check_file_existence() {
|
|||
path, fip->nbytes, size
|
||||
);
|
||||
}
|
||||
// If an output file disappears before it's uploaded,
|
||||
// flag the job as an error.
|
||||
//
|
||||
if (fip->status == FILE_NOT_PRESENT && fip->uploadable() && !fip->uploaded) {
|
||||
RESULT* rp = file_info_to_result(fip);
|
||||
if (rp) {
|
||||
gstate.report_result_error(
|
||||
*rp, "output file missing or invalid"
|
||||
);
|
||||
}
|
||||
}
|
||||
// If an output file disappears before it's uploaded,
|
||||
// flag the job as an error.
|
||||
//
|
||||
if (fip->status == FILE_NOT_PRESENT && fip->uploadable() && !fip->uploaded) {
|
||||
RESULT* rp = file_info_to_result(fip);
|
||||
if (rp) {
|
||||
gstate.report_result_error(
|
||||
*rp, "output file missing or invalid"
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue