From a3f0e3ba7387bb56ce8328c9942612de7029170d Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 24 Jun 2004 21:00:46 +0000 Subject: [PATCH] checkin_notes svn path=/trunk/boinc/; revision=3699 --- checkin_notes | 27 +++++++++++++++++++++++++++ db/boinc_db.C | 2 ++ db/constraints.sql | 10 +++++----- 3 files changed, 34 insertions(+), 5 deletions(-) diff --git a/checkin_notes b/checkin_notes index a0fe06d04f..98c3986a6c 100755 --- a/checkin_notes +++ b/checkin_notes @@ -14050,6 +14050,25 @@ David 21 June 2004 html/inc/ result.inc +Brian 22 June 2004 + - server: renamed all functions, structures and database items that + associated with trickle_up or down and renamed to + msg_from_host and msg_to_host repectively, + - Deleted result and app fields from the database entry for + msg_from_host (trickle_up) to make more generic of a + message that has no app or result associated it with it + - Changed methods that use these fields to ignore old + functionality, will update when new method agreed upon + - sched/ + handle_request.C + sched_config.C + sched_config.h + server_types.h + - db/ + schema.sql + BOINC_db.C + constraints.sql + David 22 June 2004 - client: handle a "down for maintenance" RPC reply as a failure, i.e. do a backoff on the project. @@ -14112,3 +14131,11 @@ David 24 June 2004 user/ team_display.php top_*.php + +Brian 24 June 2004 + - msg_from_host no longer have preceding and trailing flags in + scheduler reply. All tags will be included as part of the XML blob + to be created by whatever program handles the message. + + Sched/ + server_types.C diff --git a/db/boinc_db.C b/db/boinc_db.C index fffe285b48..d56f258877 100644 --- a/db/boinc_db.C +++ b/db/boinc_db.C @@ -539,9 +539,11 @@ void DB_MSG_FROM_HOST::db_print(char* buf) { "create_time=%d, send_time=%d, " "hostid=%d, variety=%d, " "handled=%d, xml='%s'", + create_time, send_time, hostid, variety, handled, xml + ); UNESCAPE(xml); } diff --git a/db/constraints.sql b/db/constraints.sql index 3adfe01285..6e9f9554b0 100644 --- a/db/constraints.sql +++ b/db/constraints.sql @@ -78,12 +78,12 @@ alter table result add index app_received_time (appid, received_time desc); -- html_ops/result_summary.php -alter table trickle_up - add index trickle_handled (appid, handled); - -- for trickle handler +alter table msg_from_host + add index message_handled (handled); + -- for message handler -alter table trickle_down - add index trickle_host(hostid, handled); +alter table msg_to_host + add index msg_to_host(hostid, handled); -- for scheduler alter table host