Opened 17 years ago
Closed 17 years ago
#578 closed Defect (fixed)
Venue is changed if the scheduler doesn't access the database
Reported by: | Kevin Reed | Owned by: | davea |
---|---|---|---|
Priority: | Major | Milestone: | 6.2 |
Component: | Server - Scheduler | Version: | 5.10.45 |
Keywords: | scheduler venue | Cc: |
Description (last modified by )
In 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:
<scheduler_reply> <scheduler_version>601</scheduler_version> <master_url>http://worldcommunitygriddev.com/</master_url> <request_delay>3600.000000</request_delay> <message priority="low">Server can't open database </message> <project_name>World Community Grid (Dev)</project_name> </scheduler_reply>
The 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:
3/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 3/12/2008 8:19:29 PM|World Community Grid (Dev)|Scheduler request succeeded: got 0 new tasks 3/12/2008 8:19:29 PM|World Community Grid (Dev)|Message from server: Server can't open database 3/12/2008 8:19:29 PM|World Community Grid (Dev)|New host venue:
This 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.
Change History (7)
comment:1 Changed 17 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 17 years ago by
Milestone: | 5.10 → 6.2 |
---|
comment:3 Changed 17 years ago by
Priority: | Minor → Major |
---|
comment:4 Changed 17 years ago by
Component: | Undetermined → Server - Scheduler |
---|---|
Owner: | set to Bruce Allen |
comment:5 Changed 17 years ago by
Owner: | changed from Bruce Allen to davea |
---|
comment:6 Changed 17 years ago by
A code update to the scheduler has been sent to David that should close this issue.
comment:7 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [14908]) - Validator framework: remove some consts, and other changes,
to allow validator to assign different credit to different instances of a job
- Scheduler: if can't open DB, return <project_is_down/>
(fixes #578)
- clean up logic of modify_claimed_credit
- feeder: for -priority_order_create_time, use workunitid
rather than create time (faster for the DB)
from Kevin Reed
5.10 has ended with 5.10.45, any new changes will be set to the next milestone. Setting milestone to 6.2 for the new client version.