Commit Graph

91 Commits

Author SHA1 Message Date
David Anderson 7f00b2fa3f outcome CLIENT_DETACHED
svn path=/trunk/boinc/; revision=10593
2006-07-06 17:30:03 +00:00
Bruce Allen a9dffd4ef5 Eliminate compiler warning (harmless)
svn path=/trunk/boinc/; revision=10270
2006-06-07 18:47:37 +00:00
Bruce Allen e37637661d Transitioner: nasty bug in logging, wrong result id/name
Scheduler: clearer logging for debugging purposes

svn path=/trunk/boinc/; revision=10243
2006-06-03 14:59:22 +00:00
Bruce Allen 55d1ad6199 Make backend more robust, to prevent 'stuck' workunits. Now
transitioner will not sent the transition_time to INT_MAX
UNLESS a canonical result has been found.  Otherwise it is
set to MAX(ten days, 1.5*delay_bound) in the future.  This
ensures that the transition will 'see' the workunit again
if no canonical result has been found.

svn path=/trunk/boinc/; revision=10185
2006-05-23 06:08:55 +00:00
David Anderson f74c293dd2 scheduler fix
svn path=/trunk/boinc/; revision=9633
2006-03-12 06:20:28 +00:00
Eric J. Korpela d9ee426071 Added explicit includes of "config.h" in many files to enable use of compilers
without a -include command line option.

svn path=/trunk/boinc/; revision=8896
2005-11-21 18:34:44 +00:00
David Anderson 941d7e21d8 fix DEBUG symbol collision
svn path=/trunk/boinc/; revision=8189
2005-09-26 23:28:48 +00:00
Bruce Allen dd0e9f6a71 Transitioner was doing incorrect accounting for OVER results.
svn path=/trunk/boinc/; revision=7971
2005-09-11 10:33:47 +00:00
David Anderson c1a29fe26a show app versions as single ints
svn path=/trunk/boinc/; revision=7734
2005-09-02 20:37:26 +00:00
Jeff Cobb 0680f23b68 *** empty log message ***
svn path=/trunk/boinc/; revision=7280
2005-08-11 23:53:24 +00:00
Bruce Allen a009ee9af7 scheduler: fixed to checkins on 28 July
(1) Put core client version number into wreq BEFORE searching for
          an app version. Problem is that reply.wreq.core_client_version was only being set in
          send_work(), which was too late for the resend_lost_work() part
          of the code.  You might want to move all the initialization of reply.wreq
          out of send_work().   The core client version is needed to see if the
          app is compatible with it when calling get_app_version().
      (2) In retransmitting lost work, do NOT set the deadline to new
          values.  Else the result will never time out!  But DO reset
          the sent_time, to indicate that result was resent.
transitioner:
          In the transitioner, make the next WU transition time be the min
          of deadlines of the in progress results, NOT the min of the
          sent_time+delay bound.  Unless a project wants to do dynamic
          adjustment of delay bounds for in progress results this should be OK.
          CPDN people: I don't think this does any harm for trickles but
          you might want to give it a quick look to be 100% sure.

svn path=/trunk/boinc/; revision=6870
2005-07-29 08:13:23 +00:00
David Anderson a400b6df5b *** empty log message ***
svn path=/trunk/boinc/; revision=6656
2005-07-17 19:52:44 +00:00
Bruce Allen 4d6193babb - Transitioner would not set a new WU transition time less
than 24 hours away, to prevent thrashing.  But this delayed
      reissuing of new results.  For example if two results were
      issued a hours 17 and 18, and both timed out (no reply). At
      time 17+deadline the first would time out and a new result
      would be issued.  But then instead of setting the transition
      time to 18+deadline it would be set to 18+deadline+1 day.

      To prevent thrashing I have fixed this so that if a transition
      time is in the past, I advance it by TWICE the amount it is late,
      but never less than 1 minute or more than 1 day.

    - Ops pages: show unsent/in-progress results in purple.  For
      unsent results show create time rather than deadline.

svn path=/trunk/boinc/; revision=6637
2005-07-14 20:22:53 +00:00
Bruce Allen 61efb5a027 Added comment and some E@H specific stuff.
svn path=/trunk/boinc/; revision=6097
2005-05-10 19:23:40 +00:00
David Anderson 99ef0b7b37 *** empty log message ***
svn path=/trunk/boinc/; revision=5738
2005-03-30 06:36:11 +00:00
Bruce Allen 58f5b86288 - Overdue checkins on a bunch of minor scheduler code. Some that is
E@H specific is now included (but protected by
      #ifdef EINSTEIN_AT_HOME
      to make it simpler for me to maintain consistency with BOINC cvs.
    - Added project-specific unacceptable_os() function for rejecting hosts.
    - Transitioner and scheduler now initalize host.max_results_day correctly
      in database under all circumstances.
    - Browser requests are now correctly identifed (REQUEST_METHO=="GET") and
      properly redirected.  This was broken. David, please see comment near
      one of the probable_user_browser=true in handle_request.C.  I think
      something is wrong here (or I am missing the point!).
    - More info about requests is logged
    - If the scheduler hangs (incoming request incomplete) it will normally be
      killed by Apache after a timeout.  But this happens silently.  So I now
      install a signal handler and catch this SIGTERM.  In this case an
      error message is logged and all open files are flushed before exit(1)ing.
    - If IO is passed through files, check that request length and content length
      agree and log a message if they do NOT.
    - active_frac not correctly reported by 4.19 and earlier core clients.
      Adjust for this in estimating wallclock execution times.
    - Added a small block into validator code to attach a debugger.

svn path=/trunk/boinc/; revision=5688
2005-03-19 18:24:24 +00:00
David Anderson b152c3f453 *** empty log message ***
svn path=/trunk/boinc/; revision=5530
2005-02-26 00:24:37 +00:00
David Anderson 20656a03df *** empty log message ***
svn path=/trunk/boinc/; revision=5499
2005-02-23 00:11:59 +00:00
David Anderson b961c2ce3d *** empty log message ***
svn path=/trunk/boinc/; revision=5349
2005-02-08 00:39:05 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
David Anderson 504957c0bd *** empty log message ***
svn path=/trunk/boinc/; revision=5054
2005-01-10 00:00:42 +00:00
Bruce Allen f31b244f90 Modified CVS id strings. After some fussing with different versions
of gcc to try and force them to not complain with -Wall but to always
include this, I decided to take a simpler approach.  All these strings
now have global linkage.  To prevent namespace conflicts they all
have different names.  For the record, the variable extension is a hash made of the first ten characters of the md5sum of the file path, eg:
    md5hash=`boinc/api/x_opengl.C | md5sum | cut -c 1-10`

svn path=/trunk/boinc/; revision=4979
2005-01-02 18:29:53 +00:00
David Anderson f28da20820 *** empty log message ***
svn path=/trunk/boinc/; revision=4878
2004-12-17 19:15:22 +00:00
David Anderson f1d1077c17 *** empty log message ***
svn path=/trunk/boinc/; revision=4868
2004-12-16 22:10:51 +00:00
David Anderson 766c11710f *** empty log message ***
svn path=/trunk/boinc/; revision=4860
2004-12-15 23:50:00 +00:00
David Anderson c0c47595ac *** empty log message ***
svn path=/trunk/boinc/; revision=4840
2004-12-14 00:57:03 +00:00
Bruce Allen a24afe2b67 Moved RCSID strings to the end of all .c, .C and .cpp files as per
David's request.

svn path=/trunk/boinc/; revision=4787
2004-12-08 00:40:19 +00:00
David Anderson 2c5f1d1a5b *** empty log message ***
svn path=/trunk/boinc/; revision=4772
2004-12-06 22:41:19 +00:00
Bruce Allen d73bddd4b6 Oops
svn path=/trunk/boinc/; revision=4714
2004-12-02 23:12:04 +00:00
Bruce Allen ecbd25e36d Helps if I check in the right files (with the right notes, too!)
-   Added logging of remaining result.outcome==OVER states to logging
    output of transitioner.
-   Fixed nasty bug in ops pages where top two WU error mask bits were
    not being shown in WU summary/detail pages.

svn path=/trunk/boinc/; revision=4713
2004-12-02 23:00:30 +00:00
Bruce Allen 45525eade1 - Added static volatile const char *BOINCrcsid="$Id$"; string to
the top of all .C files.  This means that 'string' or 'ident'
run on an executable will tell you the exact file versions used
in building it, since CVS replaces $Id$ with a complete version ID
string.  Declaration is volatile so that the compiler won't remove
it even under agressive optimizations.

svn path=/trunk/boinc/; revision=4610
2004-11-20 07:32:32 +00:00
Lana Alber 52c51fbae4 *** empty log message ***
svn path=/trunk/boinc/; revision=4333
2004-10-15 23:02:44 +00:00
David Anderson 6e94de0a6c *** empty log message ***
svn path=/trunk/boinc/; revision=4240
2004-09-24 21:28:12 +00:00
David Anderson 76a5940333 *** empty log message ***
svn path=/trunk/boinc/; revision=4178
2004-09-10 00:41:48 +00:00
David Anderson 80e2482a76 *** empty log message ***
svn path=/trunk/boinc/; revision=4068
2004-08-16 14:30:41 +00:00
David Anderson 8483cb8b1d *** empty log message ***
svn path=/trunk/boinc/; revision=4059
2004-08-13 15:52:55 +00:00
David Anderson 8c1f2ee9f2 *** empty log message ***
svn path=/trunk/boinc/; revision=3976
2004-08-04 10:34:33 +00:00
Rom Walton 50c9d27e33 tag for new release
svn path=/trunk/boinc/; revision=3942
2004-07-22 19:16:55 +00:00
Rom Walton 45c619514c tag for new release
svn path=/trunk/boinc/; revision=3941
2004-07-22 19:13:10 +00:00
Rom Walton 1cff115be5 tag for new release
svn path=/trunk/boinc/; revision=3940
2004-07-22 19:02:31 +00:00
Rom Walton 5842a9912f tag for new release
svn path=/trunk/boinc/; revision=3937
2004-07-22 17:43:11 +00:00
David Anderson 11fda1b929 *** empty log message ***
svn path=/trunk/boinc/; revision=3923
2004-07-21 21:50:25 +00:00
David Anderson b937c3a84b *** empty log message ***
svn path=/trunk/boinc/; revision=3902
2004-07-19 23:05:44 +00:00
David Anderson 8e795deae1 *** empty log message ***
svn path=/trunk/boinc/; revision=3897
2004-07-16 21:23:43 +00:00
Karl Chen afd778de8a *** empty log message ***
svn path=/trunk/boinc/; revision=3863
2004-07-13 13:54:09 +00:00
David Anderson a9315ea53d message_hangler.C
svn path=/trunk/boinc/; revision=3840
2004-07-10 00:15:33 +00:00
David Anderson 83c300795d message_hangler.C
svn path=/trunk/boinc/; revision=3837
2004-07-10 00:11:20 +00:00
Rom Walton 0b66bb3880 Client spamming server hotfix
svn path=/trunk/boinc/; revision=3780
2004-07-03 23:44:50 +00:00
Rom Walton a06b9c4fdc Client spamming server hotfix
svn path=/trunk/boinc/; revision=3779
2004-07-03 23:41:59 +00:00
Rom Walton c68ca558e7 Client spamming server hotfix
svn path=/trunk/boinc/; revision=3778
2004-07-03 23:35:23 +00:00