boinc/db
David Anderson 130d6ed4f0 - server: revamp the "assigned job" mechanism.
This now supports two main use cases:
    1) there's a job that you want to run once on all hosts,
        present and future
        (or all hosts belonging to a user, or to a team).
        The job is never transitioned, validated, or assimilated.
    2) There's a normal job for which you want to use only
        hosts belonging to a specific user (e.g. cluster or cloud hosts).
        This restriction can be made either when the job is created,
        or on the fly,
        e.g. as part of a scheme for accelerating batch completion.
        For the latter purposes we now provide a function
            restrict_wu_to_user(DB_WORKUNIT&, int userid);

        The job goes through the standard
        transitioner/validator/assimilator path.

    These cases are enabled by config flags
        <enable_assignment_multi/>
        <enable_assignment/>
    respectively.

    Assignment of type 2) are no longer stored in shared mem,
    so there is no limit on their number.

    There is no longer a rule that assigned job names must contain "asgn".

    NOTE: this requires a database update.


svn path=/trunk/boinc/; revision=25169
2012-01-30 22:39:13 +00:00
..
Makefile.am Added include of Makefile.incl and "if INSTALL_HEADERS" around 2009-03-09 15:38:21 +00:00
boinc_db.cpp - server: revamp the "assigned job" mechanism. 2012-01-30 22:39:13 +00:00
boinc_db.h - server: revamp the "assigned job" mechanism. 2012-01-30 22:39:13 +00:00
bolt_constraints.sql
bolt_schema.sql Bolt stuff 2008-10-30 22:58:33 +00:00
bossa_constraints.sql
bossa_schema.sql - lib: fix typo 2008-08-20 16:49:37 +00:00
constraints.sql - server: revamp the "assigned job" mechanism. 2012-01-30 22:39:13 +00:00
db_base.cpp - DB: use %u when writing result IDs in SQL queries; 2011-11-09 07:41:49 +00:00
db_base.h - client: don't crash if trickle up exceeds 64KB 2011-11-06 06:25:48 +00:00
init_db
schema.sql - server: revamp the "assigned job" mechanism. 2012-01-30 22:39:13 +00:00
schema_locality.sql - GUI RPC: more replacement of std::string 2010-03-13 04:40:37 +00:00
schema_vda.sql - scheduler: initialize COPROC_ATI::version to zero; 2012-01-23 21:59:12 +00:00