Changeset 26378
- Timestamp:
- Dec 9, 2009, 12:14:22 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 11 added
- 10 edited
-
dbconfig/changes.txt (modified) (1 diff)
-
dbconfig/dqstats.md (modified) (1 diff)
-
dbconfig/summitcopy.md (modified) (1 diff)
-
ippScripts/Build.PL (modified) (1 diff)
-
ippScripts/scripts/dqstats_bundle.pl (added)
-
ippScripts/scripts/register_imfile.pl (modified) (2 diffs)
-
ippTasks/Makefile.am (modified) (1 diff)
-
ippTasks/dqstats.pro (added)
-
ippTasks/summit.copy.pro (modified) (3 diffs)
-
ippTools/share/Makefile.am (modified) (1 diff)
-
ippTools/share/dqstatstool_createbundle.sql (added)
-
ippTools/share/dqstatstool_definebyquery.sql (added)
-
ippTools/share/dqstatstool_get_contents.sql (added)
-
ippTools/share/dqstatstool_get_run.sql (added)
-
ippTools/src/Makefile.am (modified) (5 diffs)
-
ippTools/src/dqstatstool.c (added)
-
ippTools/src/dqstatstool.h (added)
-
ippTools/src/dqstatstoolConfig.c (added)
-
ippTools/src/pxdqstats.c (added)
-
ippTools/src/pxdqstats.h (added)
-
ippTools/src/pztool.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dbconfig/changes.txt
r26297 r26378 1466 1466 ) ENGINE=innodb DEFAULT CHARSET=latin1; 1467 1467 1468 -- Version 1.1.60 1469 1470 ALTER TABLE dqstatsRun ADD COLUMN label VARCHAR(64) AFTER registered; 1471 ALTER TABLE dqstatsRun ADD KEY(label); 1472 1473 ALTER TABLE dqstatsRun ADD COLUMN fault SMALLINT NOT NULL AFTER label; 1474 ALTER TABLE dqstatsRun ADD KEY(fault); 1475 1476 -- Version 1.1.61 1477 1478 ALTER TABLE pzDataStore ADD COLUMN use_compress SMALLINT NOT NULL AFTER epoch; 1479 1480 UPDATE dbversion set schema_version = '1.1.61', updated= CURRENT_TIMESTAMP(); -
trunk/dbconfig/dqstats.md
r26297 r26378 3 3 state STR 64 4 4 registered TAI NULL 5 label STR 64 # Key 6 fault S16 0 # Key NOT NULL 5 7 END 6 8 -
trunk/dbconfig/summitcopy.md
r25418 r26378 4 4 uri STR 255 5 5 epoch UTC 0001-01-01T00:00:00Z 6 use_compress S16 0 6 7 END 7 8 -
trunk/ippScripts/Build.PL
r26290 r26378 98 98 scripts/rcserver_checkstatus.pl 99 99 scripts/publish_file.pl 100 scripts/dqstats_bundle.pl 100 101 scripts/whichimage 101 102 )], -
trunk/ippScripts/scripts/register_imfile.pl
r25484 r26378 130 130 } 131 131 elsif (($isGPC1 == 1) && ($burntoolState == 1)) { 132 # print STDERR "In the good region: >>$burntoolState<<\n"; 132 133 my $ppConfigDump_cmd = "$ppConfigDump -camera GPC1 -dump-camera -"; 133 134 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = … … 148 149 } 149 150 $burntoolState = $burntoolStateGood; # Positive because this has the header table. 151 150 152 } 151 153 $cmdflags .= " -burntool_state $burntoolState "; -
trunk/ippTasks/Makefile.am
r26087 r26378 29 29 receive.pro \ 30 30 publish.pro \ 31 dqstats.pro \ 31 32 science.cleanup.pro 32 33 -
trunk/ippTasks/summit.copy.pro
r25340 r26378 147 147 # run pzgetexp periodically to populate pzPendingExp in the database (no I/O) 148 148 # this task is querying the data store for a list of exposures ("filesets") 149 # and inserting these into a db table on the local cluster (pz PendingExp)149 # and inserting these into a db table on the local cluster (pzDownloadExp) 150 150 task pzgetexp 151 151 periods -exec 30 … … 446 446 stderr $LOGDIR/summit.copy.log 447 447 448 book getpage pzDataStore 0 -var PZDSPAGE -key dbname $DBNAME 449 book getword pzDataStore $PZDSPAGE use_compress -var USECOMPRESS 450 448 451 $run = summit_copy.pl --uri $URI --filename $FILENAME --exp_name $EXP_NAME --inst $CAMERA --telescope $TELESCOPE --class $CLASS --class_id $CLASS_ID --bytes $BYTES --md5 $MD5SUM --dbname $DBNAME --timeout 120 --verbose --copies 2 449 if ($ COMPRESS)452 if ($USECOMPRESS == 1) 450 453 $run = $run --compress 451 else 452 $run = $run --bytes $BYTES 453 end 454 if (("$MD5SUM" != "NULL") && ("$MD5SUM" != "0") && (not($COMPRESS))) 454 end 455 # if (("$MD5SUM" != "NULL") && ("$MD5SUM" != "0") && (not($COMPRESS))) 455 456 # && (($YEAR > 2008) || (("$YEAR" = "2007") && ($MONTH > 8)))) 456 $run = $run --md5 $MD5SUM457 end457 # $run = $run --md5 $MD5SUM 458 # end 458 459 if ($NEBULOUS) 459 460 $run = $run --nebulous … … 463 464 # store the pageName for future reference below 464 465 options $pageName 465 466 466 467 # create the command line 467 468 if ($VERBOSE > 1) -
trunk/ippTools/share/Makefile.am
r26193 r26378 140 140 disttool_updateinterest.sql \ 141 141 disttool_updatercrun.sql \ 142 dqstatstool_createbundle.sql \ 143 dqstatstool_definebyquery.sql \ 144 dqstatstool_get_contents.sql \ 145 dqstatstool_get_run.sql \ 142 146 faketool_change_exp_state.sql \ 143 147 faketool_change_imfile_data_state.sql \ -
trunk/ippTools/src/Makefile.am
r25773 r26378 9 9 disttool \ 10 10 flatcorr \ 11 dqstatstool \ 11 12 magictool \ 12 13 magicdstool \ … … 32 33 pxdata.h \ 33 34 pxfake.h \ 35 pxdqstats.h 34 36 pxmagic.h \ 35 37 pxregister.h \ … … 52 54 flatcorr.h \ 53 55 faketool.h \ 56 dqstatstool.h \ 54 57 magictool.h \ 55 58 magicdstool.h \ … … 77 80 pxfake.c \ 78 81 pxfault.c \ 82 pxdqstats.c \ 79 83 pxmagic.c \ 80 84 pxregister.c \ … … 142 146 faketool.c \ 143 147 faketoolConfig.c 148 149 dqstatstool_CFLAGS = $(PSLIB_CFLAGS) $(PSMODULES_CFLAGS) $(IPPDB_CFLAGS) 150 dqstatstool_LDADD = $(PSLIB_LIBS) $(PSMODULES_LIBS) $(IPPDB_LIBS) libpxtools.la 151 dqstatstool_SOURCES = \ 152 dqstatstool.c \ 153 dqstatstoolConfig.c 144 154 145 155 magictool_CFLAGS = $(PSLIB_CFLAGS) $(PSMODULES_CFLAGS) $(IPPDB_CFLAGS) -
trunk/ippTools/src/pztool.c
r26349 r26378 117 117 telescope, 118 118 uri, 119 NULL // epoch 119 NULL, // epoch 120 0 // use_compress 120 121 )) { 121 122 psError(PS_ERR_UNKNOWN, false, "database error");
Note:
See TracChangeset
for help on using the changeset viewer.
