Changes between Version 4 and Version 5 of ClientDataModel


Ignore:
Timestamp:
Jul 19, 2011, 10:36:04 AM (13 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ClientDataModel

    v4 v5  
    1414 * bool uploaded
    1515 * bool sticky
    16 
     16 * bool optional (applies to output files)
    1717
    1818== Problems ==
     
    3131 * upload_urls
    3232 * download_urls
    33  * bool defer_upload
    3433 * bool uploaded
    3534 * bool sticky
     35 * bool optional_output
     36 * bool optional_input
    3637
    3738Policy:
    3839 * 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
    4042
    4143Handling <file_info> elements in scheduler replies:
     
    4648Handling upload requests:
    4749 * 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.
    4951
    5052== Locally-generated input files ==
    5153
    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
     54One (hypothetical) class of files:
     55input files which, if not present, are generated computationally by the app.
     56Such files should be listed (in sched reply) as sticky optional input files with no download URL,
     57and as optional output files (this causes them to be marked as present).
     58
     59The app must use file locking to ensure that two jobs
    5660don't try to generate the file at the same time.