boinc/db
David Anderson 815b8fc043 Various preparation for handling multithreaded apps
and apps that use coprocessors.
There now can be several app_versions for the same
(app, platform, version_num) combination.
This changes a number of things.

- Added app_version.plan_class field to DB
- update_versions now looks for a :plan-class in the
    file or directory name, and puts it in the app_version's DB record
- Change uniqueness constraint to include plan_class
- Feeder: the feeder was putting non-deprecated app_versions
    in shared mem, and leaving it to the scheduler to
    find the latest version for a given platform.
    This is dumb.
    Instead, for each app/platform pair the feeder now
    finds the highest version number of a non-deprecated app version,
    and enumerates all non-deprecated app_versions with that
    app/platform/version
- Scheduler: add a BEST_APP_VERSION data structure that keeps track,
    for each app, what the best app_version is for this host.
    This saves the work of recomputing it for each job.

svn path=/trunk/boinc/; revision=14906
2008-03-13 22:57:24 +00:00
..
Makefile.am *** empty log message *** 2006-10-16 22:39:27 +00:00
boinc_db.C Various preparation for handling multithreaded apps 2008-03-13 22:57:24 +00:00
boinc_db.h Various preparation for handling multithreaded apps 2008-03-13 22:57:24 +00:00
bolt_constraints.sql - manager: fix unix build (new file) 2008-01-31 23:43:37 +00:00
bolt_schema.sql - web: remove all references to the PHP "session" mechanism, 2008-02-13 19:02:44 +00:00
bossa_constraints.sql - client code: my next-to-last checkin was flawed 2008-02-12 20:33:05 +00:00
bossa_schema.sql - transitioner: we're not supposed to ever see "assigned" WUs. 2008-03-03 19:33:32 +00:00
constraints.sql Various preparation for handling multithreaded apps 2008-03-13 22:57:24 +00:00
db_base.C - removed boinc_ncpus_available() and boinc_nthreads() calls. 2008-03-07 21:13:01 +00:00
db_base.h - removed boinc_ncpus_available() and boinc_nthreads() calls. 2008-03-07 21:13:01 +00:00
init_db updated schema. combined schema into schema.sql 2003-07-24 00:30:47 +00:00
schema.sql Various preparation for handling multithreaded apps 2008-03-13 22:57:24 +00:00