IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 23, 2009, 10:22:33 AM (17 years ago)
Author:
bills
Message:

In distribution server merge rcDSProduct into rcDestination. It was illogical for
a product to be shared by multiple destinations.
In defineinterest define by query to allow destination names and target parameters
to be used. Much more administrator friendly.
Add a label to pstampRequest. Not used yet.
Split reverting of faults in distRuns from faults building components.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/disttool_pendingfileset.sql

    r24422 r25493  
    55    stage_id,
    66    CONCAT_WS('.', distRun.outroot, CONVERT(distRun.dist_id, CHAR)) as dist_dir,
    7     rcDSProduct.name AS product_name,
    8     rcDSProduct.prod_id,
    9     rcDSProduct.dbname AS ds_dbname,
    10     rcDSProduct.dbhost AS ds_dbhost
     7    rcDestination.name AS product_name,
     8    rcDestination.prod_id,
     9    rcDestination.dbname AS ds_dbname,
     10    rcDestination.dbhost AS ds_dbhost
    1111FROM rcDestination
    1212JOIN rcInterest USING(dest_id)
    1313JOIN distTarget USING(target_id)
    14 JOIN rcDSProduct USING(prod_id)
    1514JOIN distRun USING(target_id)
    16 LEFT JOIN rcDSFileset USING(prod_id, dist_id)
     15LEFT JOIN rcDSFileset USING(dest_id, dist_id)
    1716WHERE distRun.state = 'full'
    1817    AND rcDestination.state = 'enabled'
Note: See TracChangeset for help on using the changeset viewer.