Open-source software for volunteer computing and grid computing.
Go to file
David Anderson 4b826b52a0 - scheduler: fix bug in the "homogeneous app version" (HAV) feature
(reported by Kevin Reed).
    The problem: cache inconsistency.
    If there are 2 results for the same WU in shared mem,
    and 2 scheduler instances get them around the same time,
    they can send them with different app versions.
    We already fixed this problem for HR by
    1) rereading the relevant WU fields while deciding
        whether to send the result
    2) doing a "careful update" of the WU field using a where clause
        to make sure it wasn't modified in the (short) interval
        since rereading it.
    I fixed the HAV problem in the same way,
    and merged the two mechanisms to combine the DB queries.

    Also:
    - The rereads are done in slow_check() (see below).
    - The careful updates are done in update_wu_on_send(),
        and this is called *before* doing careful updates on result fields.
        That way, if the WU updates fail, we don't have orphaned results.
    - already_sent_to_different_platform_careful() (sic)
        no longer does DB stuff, so it's merged with
        already_send_to_different_hr_class() (better name)

    NOTE: slow_check() is used in array scheduling only.
        Score-based scheduling uses other code,
        in which this bug is not yet fixed.
        Locality scheduling doesn't support HR or HAV at all.
        This should be unified.


svn path=/trunk/boinc/; revision=24484
2011-10-26 07:15:22 +00:00
api - client: reimplement the round-robin simulator to 2011-10-24 17:53:09 +00:00
apps - client: change --detach_phase_two (??) to --detach_console 2011-06-12 20:58:43 +00:00
client - web: typo in forum RSS from Daniel L G; fixes #1147 2011-10-25 17:22:18 +00:00
clientctrl - Changes for Charity Engine Desktop. 2011-08-10 16:51:58 +00:00
clientgui MGR: Allow skin to specify the (simulated) opacity of Simple View task and project panels 2011-10-25 12:11:26 +00:00
clientscr - Remove dead code related to v5 graphics applications from the 2011-10-14 19:02:43 +00:00
clienttray - Changes for Charity Engine Desktop. 2011-08-10 16:51:58 +00:00
coprocs/NVIDIA Quick Updates 2011-04-01 20:10:45 +00:00
curl These trees have been moved. 2009-04-16 18:33:44 +00:00
db - scheduler: fix bug in the "homogeneous app version" (HAV) feature 2011-10-26 07:15:22 +00:00
doc - backend API: added function cancel_jobs(minid, maxid) 2011-10-18 07:15:04 +00:00
html - web: typo in forum RSS from Daniel L G; fixes #1147 2011-10-25 17:22:18 +00:00
lib - API: compile fixes for MinGW. From Oliver Bock. 2011-10-24 23:38:19 +00:00
locale Quick Updates 2011-10-21 19:39:35 +00:00
m4 - transitioner: the format string for a DB query had %.15d instead of %.15e. 2010-06-25 18:54:37 +00:00
mac_build MGR: Sort Simple View task selection control alphabetically, working around clientData bug in wxBitmapComboBox::Insert() 2011-10-25 11:22:46 +00:00
mac_installer Mac: Update Mac build scripts, XCode project and source files to allow automated builds under OS 10.7 Lion and XCode 4.2 2011-10-18 12:42:53 +00:00
packages Quick Updates 2010-07-13 20:38:20 +00:00
py - client/API: pass bool using_sandbox in APP_INIT_DATA; 2011-10-21 06:58:35 +00:00
rboinc added text module for rboinc monitoring 2011-02-22 21:30:15 +00:00
samples - VBOX: Don't redirect VirtualBox to a different directory structure for 2011-10-21 16:34:45 +00:00
sched - scheduler: fix bug in the "homogeneous app version" (HAV) feature 2011-10-26 07:15:22 +00:00
stripchart - stripchart: use /usr/bin/env perl in script headers 2009-12-12 05:19:31 +00:00
test - make_project and upgrade: add --srcdir option so you 2009-06-10 22:38:33 +00:00
tools - update_versions: touch trigger file so that feeder rereads DB 2011-10-21 20:14:54 +00:00
win_build MGR: Sort Simple View task selection control alphabetically, working around clientData bug in wxBitmapComboBox::Insert() 2011-10-25 11:19:42 +00:00
.vimrc *** empty log message *** 2004-12-08 20:55:53 +00:00
COPYING - web: added copyright and license info to PHP files 2008-08-05 22:43:14 +00:00
COPYING.LESSER - web: added copyright and license info to PHP files 2008-08-05 22:43:14 +00:00
COPYRIGHT - Add ICU to the BOINC depends list. It is needed for 2009-04-15 21:48:59 +00:00
INSTALL - updated INSTALL 2008-01-14 19:08:52 +00:00
Makefile.am Disable Linux screen saver for right now (broken on latest Ubuntu) 2011-10-13 21:59:40 +00:00
Makefile.incl - Updates Linux notifications to use current libnotify. 2011-09-27 19:45:27 +00:00
TODO_OLD
_autosetup - Unix builds: make sure we have libtoolize 2009-09-23 17:16:24 +00:00
bolt_checkin_notes.txt - Filter questions 2008-11-03 03:06:29 +00:00
checkin_notes - scheduler: fix bug in the "homogeneous app version" (HAV) feature 2011-10-26 07:15:22 +00:00
checkin_notes_2002 - client: use [wfd] consistently 2009-11-27 21:21:39 +00:00
checkin_notes_2003 *** empty log message *** 2005-04-28 23:40:40 +00:00
checkin_notes_2004 *** empty log message *** 2005-04-28 23:40:40 +00:00
checkin_notes_2005 - client: timezone reflects daylight savings time (Win) 2007-08-10 16:02:09 +00:00
checkin_notes_2006 - Removed the svn:executable property from files that should not be executable, 2007-10-10 09:25:40 +00:00
checkin_notes_2007 - fixed bug in upgrade 2008-01-01 18:07:13 +00:00
checkin_notes_2008 - client/scheduler: standardize the FLOPS estimate between NVIDIA and ATI. 2009-10-16 00:13:01 +00:00
checkin_notes_2009 - client: tweak translatable msg 2010-08-05 19:11:01 +00:00
checkin_notes_2010 - lib: fix compile warning 2011-06-23 20:44:25 +00:00
checkin_notes_samples Mac Samples: adjust XCode project for current source file names (*.cpp instead of *.C) 2009-02-11 10:15:13 +00:00
configure.ac - Tag for 6.13.9 release, all platforms 2011-10-25 15:33:59 +00:00
find-working-cvs
generate_svn_version.sh - unix build system: generate_svn_version 2011-03-10 14:47:01 +00:00
notes
set-version *** empty log message *** 2004-12-06 22:13:42 +00:00
testbase *** empty log message *** 2003-12-20 09:14:38 +00:00
todo - Removed the svn:executable property from files that should not be executable, 2007-10-10 09:25:40 +00:00
version.h - Tag for 6.13.9 release, all platforms 2011-10-25 15:33:59 +00:00
version.h.in - MGR: Make help system work again 2008-04-17 16:18:16 +00:00
version.log - WINBUILD: Introduce the beginning of an automated build system for 2009-11-23 16:40:07 +00:00