Changes between Version 4 and Version 5 of ClientDataModel
- Timestamp:
- Jul 19, 2011, 10:36:04 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ClientDataModel
v4 v5 14 14 * bool uploaded 15 15 * bool sticky 16 16 * bool optional (applies to output files) 17 17 18 18 == Problems == … … 31 31 * upload_urls 32 32 * download_urls 33 * bool defer_upload34 33 * bool uploaded 35 34 * bool sticky 35 * bool optional_output 36 * bool optional_input 36 37 37 38 Policy: 38 39 * If a file has a download URL and is not present, download it 39 * If a file has an upload URL, is present, and defer_upload is not set, upload it 40 * If a file has an upload URL, is present, and '''uploaded''' is false, upload it 41 * start a job if its input files are either present or optional_input 40 42 41 43 Handling <file_info> elements in scheduler replies: … … 46 48 Handling upload requests: 47 49 * Clear "uploaded" flag 48 * If the file isn't there, mark result as error.50 * If the file isn't present, mark result as error and put appropriate text in stderr_out. 49 51 50 52 == Locally-generated input files == 51 53 52 One (hypothetical) class of files isn't handled by the above: 53 an input file which, if not present, is generated computationally by the app. 54 Such files must be handled outside of BOINC. 55 In particular, the app must use file locking to ensure that two jobs 54 One (hypothetical) class of files: 55 input files which, if not present, are generated computationally by the app. 56 Such files should be listed (in sched reply) as sticky optional input files with no download URL, 57 and as optional output files (this causes them to be marked as present). 58 59 The app must use file locking to ensure that two jobs 56 60 don't try to generate the file at the same time.