Index: docs/manual/megatest_manual.html ================================================================== --- docs/manual/megatest_manual.html +++ docs/manual/megatest_manual.html @@ -868,12 +868,100 @@
Note 1: This road-map is still evolving and subject to change without notice.
Requests for comment.
Purpose: shrink megatest.db data to enable lower load and higher performance.
Method: add a completed-runs.db and automatically move runs data from megatest.db to that db
Design:
+completed-runs.db is a full megatest database with complete schema +
++the data move would involve these steps +
++copy the run data to completed-runs.db +
++remove the run data, first from /tmp/…/megatest.db and /tmp/…/megatest_ref.db, followed by megatest.db +
++accessing the data would be unchanged for most operations. +
++a mode -full-db will be added which when specified would attach the completed-runs.db to megatest.db before doing the query +
++mechanisms for moving runs to/from the megatest.db would be added +
++-reduce-records ⇒ move runs to completed-runs.db +
++-restore-records ⇒ move runs from completed-runs.db to megatest.db +
+Branch: This work is taking place on branch v1.65-reduce-records
Purpose: Automatically migrate homehost.
Method: Check that there are no tests running, launched or remotehoststart in past ½ hour then if not on homehost migrate the db to current host
Design:
+Check that the system is quiescent, i.e. that there are no runs in flight or recently run +
++Create a lock +
++Migrate the /tmp cache db to the current host +
++Update the .homehost file +
++Remove the lock +
+Branch: This work not yet started