-
Notifications
You must be signed in to change notification settings - Fork 47
SchemaVersion2
Jeff Squyres edited this page Sep 3, 2014
·
1 revision
- Each
INSERT
statement will be preceded by four moreSELECT
s to check and see if an identicalcluster
,mpi_get
,mpi_install
, andcompiler
exists in themtt
database. - The
phase
input parameter will determine thephase_id
index in thesubmit
table, rather than determining which of the three phase tables the row goes in.
- Each SQL query will contain four more
JOIN
clauses to combine thecluster
,mpi_get
,mpi_install
, andcompiler
into the row. - The "run keys" (host, mpi, timestamp) in
reporter.php
will give way to the newclient_serial
value forBy Run
queries. - To fully realize the benefit of the new schema, the
[i]
link at the right of each row in the results table should be expanded to display info on each of the other phases, not just the phase for the given row.
- How does
submit.php
know which tables will receive enumerative values (e.g.,foo_1, foo_2, ..., foo_n
) in the HTTP POST? The current enumerative fields (MTT 1.0) appear to reflect the 1.0 schema (go figure). To reflect the new schema, only non '_id' fields in theresults
andtest_run
table will be enumerative in a single submit. It will improve efficiency to correctly enumerate here, as it will allow us to not check for a row in the database that matches the submitted data.- We could comment the fields (e.g., label columns "enumerative"), and fetch the comment using
obj_description(objectOID, tablename)
. Would that be preferable to hardcoding this stuff in the server-side scripts?
- We could comment the fields (e.g., label columns "enumerative"), and fetch the comment using
-
vpath_mode
should be sent as an int, not a string (e.g., "none"). - Send
local_username
as part of HTTP POST (see trac ticket 1) -
platform_id
should be renamed so it does not end in_id
, to avoid confusion with theserial
-integer
_id
pairs that link the tables together
- We want to be able to key a given Test Build to an MPI Install, but there can be several MPI Installs that differ only by a field currently not submitted
in a Test Build phase (e.g., they only differ by
stdout
). In this case, what shouldsubmit.php
do?- Take the most recent matching MPI Install
- Set the
mpi_install_id
to a null value - meaning the MPI Install can not be determined. - Have the client store the index of the MPI Install in an XML metadata file(s), and send that to
submit.php
as part of the result submission