Changes between Version 5 and Version 6 of ValidationLowLevel
- Timestamp:
- Apr 27, 2007, 10:46:08 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ValidationLowLevel
v5 v6 13 13 * If, when an output file for a result has a nonrecoverable error (e.g. the directory is there but the file isn't, or the file is present but has invalid contents), then it must set the result's outcome (in memory, not database) to outcome=RESULT_OUTCOME_VALIDATE_ERROR and validate_state=VALIDATE_STATE_INVALID. 14 14 15 Use BOINC's [ http://boinc.berkeley.edu/backend_util.phpback-end utility functions] (in sched/validate_util.C) to get file pathnames and to distinguish recoverable and nonrecoverable file-open errors.15 Use BOINC's [BackendUtilities back-end utility functions] (in sched/validate_util.C) to get file pathnames and to distinguish recoverable and nonrecoverable file-open errors. 16 16 * If a canonical result is found, check_set() must set the validate_state field of each non-ERROR result (in memory, not database) to either validate_state=VALIDATE_STATE_VALID or validate_state=VALIDATE_STATE_INVALID. 17 17 * If a recoverable error occurs while reading output files (e.g. a directory wasn't visible due to NFS mount failure) then check_set() should return retry=true. This tells the validator to arrange for this WU to be processed again in a few hours.