-
Notifications
You must be signed in to change notification settings - Fork 48
SchemaVersion2
Jeff Squyres edited this page Sep 3, 2014
·
1 revision
- Each
INSERTstatement will be preceded by four moreSELECTs to check and see if an identicalcluster,mpi_get,mpi_install, andcompilerexists in themttdatabase. - The
phaseinput parameter will determine thephase_idindex in thesubmittable, rather than determining which of the three phase tables the row goes in.
- Each SQL query will contain four more
JOINclauses to combine thecluster,mpi_get,mpi_install, andcompilerinto the row. - The "run keys" (host, mpi, timestamp) in
reporter.phpwill give way to the newclient_serialvalue forBy Runqueries. - 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.phpknow 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 theresultsandtest_runtable 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_modeshould be sent as an int, not a string (e.g., "none"). - Send
local_usernameas part of HTTP POST (see trac ticket 1) -
platform_idshould be renamed so it does not end in_id, to avoid confusion with theserial-integer_idpairs 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.phpdo?- Take the most recent matching MPI Install
- Set the
mpi_install_idto 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.phpas part of the result submission