Commit Graph

44 Commits

Author SHA1 Message Date
David Anderson 165e3bb1d5 - adjust_user_priority: scale FLOP count by app's min_avg_pfc
to account for systematic errors in FLOP count
- adjust_user_priority: get total project RAC by summing RAC
    of app versions where RAC has been updated in past week
- feeder: add --priority_asc option
    (for when wu.priority is a logical time)
2013-03-04 15:23:39 +01:00
David Anderson 7cc750e616 - cancel_jobs tool: add --name option to cancel job by name.
From David Coss.


svn path=/trunk/boinc/; revision=26132
2012-09-20 18:28:29 +00:00
David Anderson ce52c9cf3e - storage stuff
svn path=/trunk/boinc/; revision=25341
2012-02-24 22:55:11 +00:00
David Anderson 1b8d6b098d - storage stuff (work in progress)
- small code shuffle


svn path=/trunk/boinc/; revision=25274
2012-02-16 23:59:26 +00:00
David Anderson 3410abef6f - backend API: added function cancel_jobs(minid, maxid)
for canceling jobs
- added program cancel_jobs for canceling jobs
- DB interface: it's not an error if update_fields_noid()
    affects != 1 rows


svn path=/trunk/boinc/; revision=24413
2011-10-18 07:15:04 +00:00
David Anderson c529c3c50d - server: rename process_wu_template() to process_input_template(),
and move it to its own file


svn path=/trunk/boinc/; revision=24107
2011-09-01 19:58:27 +00:00
David Anderson 3c70004c5c - server: debug distributed storage functions
- generate upload signatures if needed
    - assign deadlines to file xfer jobs (default 1 week)
    - scheduler: ack completed file xfer results


svn path=/trunk/boinc/; revision=23866
2011-07-20 22:27:01 +00:00
David Anderson 27e05a3da9 - server: some stuff to prepare for distributed storage
- don't create result records for uploads and downloads.
        Just create a msg_to_client record.
    - the scheduler handles file-transfer results specially;
        it makes a vector of them, then calls a project-supplied function
        handle_file_xfer_results()
    - change the interface and implementation of put_file and get_file
- client write project sched priority in GUI RPC replies,
    but not to the state file


svn path=/trunk/boinc/; revision=23857
2011-07-19 20:52:41 +00:00
David Anderson c70cd934b4 - server: rename send_file to put_file.
Factor out put_file() and get_file() functions
    so they have a C++ API as well as command-line


svn path=/trunk/boinc/; revision=23425
2011-04-24 02:00:27 +00:00
David Anderson 4f66bb4c95 - added copyright and license info to .C, .cpp, .h files
- scheduler: fix bug in adaptive replication:
    if send an unreplicated job to untrusted host,
    set both wu.target_nresults and wu.min_quorum to app.target_nresults.

svn path=/trunk/boinc/; revision=15762
2008-08-06 18:36:30 +00:00
David Anderson 16b1305db7 - server code: at some point I made a global var "SCHED_CONFIG config",
mostly so that the parse function could assume
    that everything was initially zero.
    However, various back-end functions pass around SCHED_CONFIG&
    as an argument (also named "config").
    This creates a shadow, which is always bad.
    Worse is the possibility that some projects have back-end programs
    that have a SCHED_CONFIG variable that's automatic,
    and therefore isn't zero initially,
    and therefore isn't parsing correctly.

    To fix this, I changed the 2 vectors in SCHED_CONFIG into pointers,
    and have the parse routine zero the structure.
    I was tempted to remove the SCHED_CONFIG& args to back-end functions,
    but this would have broken some projects' code.
    I did, however, change the name from config to config_loc
    to avoid shadowing.

    Also fixed various other compiler warnings.

svn path=/trunk/boinc/; revision=15541
2008-07-02 17:24:53 +00:00
David Anderson b33276bee3 - compile fixes for gcc 4.x; fixes #592
svn path=/trunk/boinc/; revision=15007
2008-04-02 19:33:12 +00:00
David Anderson 54519a4ee1 - Server: add "job assignment" feature.
Lets you assign a WU to a particular host,
    to one or all hosts belonging to a user or team, or to all hosts.
    See http://boinc.berkeley.edu/trac/wiki/AssignedWork
    Disabled unless you include <enable_assignment> in config.xml
    Uses a new DB table.
    Tested but only a little.
- Server: code cleanup; moved result-handling to a new file,
    and removed the PLATFORM_LIST arg to everything
    (put it in SCHEDULER_REQUEST instead)

svn path=/trunk/boinc/; revision=14767
2008-02-21 00:47:50 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00
David Anderson 75a2b2c55b *** empty log message ***
svn path=/trunk/boinc/; revision=12322
2007-04-05 17:02:01 +00:00
David Anderson ff91c8450f *** empty log message ***
svn path=/trunk/boinc/; revision=12004
2007-01-30 18:19:30 +00:00
David Anderson 72ad81d930 command_line arg to create_work()
svn path=/trunk/boinc/; revision=8773
2005-10-29 20:16:07 +00:00
David Anderson 8d0ab453b3 *** empty log message ***
svn path=/trunk/boinc/; revision=5443
2005-02-16 23:17:43 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
David Anderson 2c5f1d1a5b *** empty log message ***
svn path=/trunk/boinc/; revision=4772
2004-12-06 22:41:19 +00:00
David Anderson 6e94de0a6c *** empty log message ***
svn path=/trunk/boinc/; revision=4240
2004-09-24 21:28:12 +00:00
David Anderson 156930d204 *** empty log message ***
svn path=/trunk/boinc/; revision=4003
2004-08-06 11:42:41 +00:00
David Anderson 11fda1b929 *** empty log message ***
svn path=/trunk/boinc/; revision=3923
2004-07-21 21:50:25 +00:00
Jeff Cobb 07870d11d5 *** empty log message ***
svn path=/trunk/boinc/; revision=3838
2004-07-10 00:12:06 +00:00
David Anderson 1f85b52a12 *** empty log message ***
svn path=/trunk/boinc/; revision=3754
2004-07-02 19:45:33 +00:00
David Anderson e0ddccfb44 *** empty log message ***
svn path=/trunk/boinc/; revision=3753
2004-07-02 19:17:53 +00:00
Rom Walton 9d1c3f1a55 Client spamming server hotfix
svn path=/trunk/boinc/; revision=3750
2004-07-02 17:53:31 +00:00
David Anderson 267d4b5370 *** empty log message ***
svn path=/trunk/boinc/; revision=3383
2004-05-14 23:08:33 +00:00
David Anderson 6d44e9ccc1 *** empty log message ***
svn path=/trunk/boinc/; revision=2844
2004-01-04 06:48:40 +00:00
Eric J. Korpela e6a02ad49b Added const qualifiers to create_work and process_result_template_upload_only
prototypes.

svn path=/trunk/boinc/; revision=2332
2003-09-16 21:50:03 +00:00
Karl Chen 8277f2ec44 .
svn path=/trunk/boinc/; revision=2224
2003-09-03 05:42:33 +00:00
David Anderson c9b46365e7 create results only in transitioner
svn path=/trunk/boinc/; revision=2126
2003-08-15 23:44:28 +00:00
David Anderson 7edf91f52a backend logic
svn path=/trunk/boinc/; revision=2115
2003-08-15 20:35:44 +00:00
David Anderson 537b48cc13 license change
svn path=/trunk/boinc/; revision=1405
2003-06-11 23:36:48 +00:00
David Anderson 2ae654544b DB interface
svn path=/trunk/boinc/; revision=1293
2003-06-04 17:21:26 +00:00
David Anderson 91d9370e55 abort runaway apps
svn path=/trunk/boinc/; revision=693
2002-12-06 07:33:45 +00:00
David Anderson 783239db37 result retry
svn path=/trunk/boinc/; revision=584
2002-11-07 19:31:34 +00:00
David Anderson b4ac411eb0 result retry
svn path=/trunk/boinc/; revision=575
2002-11-06 09:03:55 +00:00
David Anderson 7f3da8dcbf make_work
svn path=/trunk/boinc/; revision=496
2002-10-14 23:10:12 +00:00
David Anderson ada18d1d46 make work
svn path=/trunk/boinc/; revision=481
2002-10-09 04:56:41 +00:00
David Anderson c0813dcd55 test framework
svn path=/trunk/boinc/; revision=457
2002-10-03 18:33:46 +00:00
David Anderson a095225083 credit
svn path=/trunk/boinc/; revision=388
2002-08-28 21:50:51 +00:00
David Anderson 316de23144 Added upload authentication
svn path=/trunk/boinc/; revision=162
2002-07-05 05:33:40 +00:00
David Anderson d5d4634807 Initial revision
svn path=/trunk/boinc/; revision=10
2002-04-30 22:22:54 +00:00