IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26015 for trunk/dbconfig


Ignore:
Timestamp:
Nov 3, 2009, 1:02:08 PM (17 years ago)
Author:
bills
Message:

Spread building of distribution bundles over a number of hosts (currently 5)

Location:
trunk/dbconfig
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dbconfig/changes.txt

    r25929 r26015  
    14241424ALTER TABLE publishClient ADD COLUMN active TINYINT DEFAULT 0 AFTER client_id;
    14251425
    1426 
    1427 
    1428 -- UPDATE dbversion set schema_version = '1.1.57',  updated= CURRENT_TIMESTAMP();
     1426# add outdir to allow spreading files over multiple hosts
     1427ALTER TABLE distRun ADD COLUMN outdir VARCHAR(255) AFTER outroot;
     1428ALTER TABLE distComponent ADD COLUMN outdir VARCHAR(255) AFTER state;
     1429
     1430# populate the existing runs (except for bills' test runs)
     1431UPDATE distRun SET outdir = CONCAT_WS('.', outroot, dist_id) WHERE outroot not like '%@HOST@%';
     1432UPDATE distRun join distComponent using(dist_id) SET distComponent.outdir = CONCAT_WS('.', distRun.outroot, dist_id);
     1433
     1434UPDATE dbversion set schema_version = '1.1.57',  updated= CURRENT_TIMESTAMP();
     1435
     1436-- Vesion 1.1.58
     1437-- UPDATE dbversion set schema_version = '1.1.58',  updated= CURRENT_TIMESTAMP();
  • trunk/dbconfig/dist.md

    r25835 r26015  
    1717    label       STR         64      # Key
    1818    outroot     STR         255
     19    outdir      STR         255
    1920    clean       BOOL        f
    2021    no_magic    BOOL        f
     
    3132    md5sum      STR         32
    3233    state       STR         64      # Key
     34    outdir      STR         255
    3335    name        STR         255
    3436    fault       S16         0
Note: See TracChangeset for help on using the changeset viewer.