Changes between Initial Version and Version 1 of Ticket #578


Ignore:
Timestamp:
Mar 12, 2008, 6:33:40 PM (16 years ago)
Author:
Nicolas
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #578 – Description

    initial v1  
    11In the event that the scheduler does not access the database, for example if there is no work or if the scheduler cannot access the database, then the scheduler reply will look something like:
    2 
     2{{{
     3#!xml
    34<scheduler_reply>
    45<scheduler_version>601</scheduler_version>
     
    89<project_name>World Community Grid (Dev)</project_name>
    910</scheduler_reply>
    10 Content-type: text/plain
     11}}}
    1112
    1213The field host_venue is initialized to the empty string during parsing of the response and since it is never populated (since the tag is not present), the client then uses the empty string as the value from the server.  If the client had previously had a different venue set such as 'home' the client would then decide that the venue had changed and will report:
    13 
     14{{{
    14153/12/2008 8:19:24 PM|World Community Grid (Dev)|Sending scheduler request: Requested by user.  Requesting 0 seconds of work, reporting 0 completed tasks
    15163/12/2008 8:19:29 PM|World Community Grid (Dev)|Scheduler request succeeded: got 0 new tasks
    16173/12/2008 8:19:29 PM|World Community Grid (Dev)|Message from server: Server can't open database
    17183/12/2008 8:19:29 PM|World Community Grid (Dev)|New host venue:
    18 
     19}}}
    1920
    2021This will then cause the client to use the default venue rather then its assigned venue which could cause behavior on the client to change that was not desired by the member.