Change-Id: I463f57ac5ccbef2773ee299f36fa808c62d7da2d Former-commit-id:38ac706b80
[formerly2de4562585
] [formerly3fd473e25d
] [formerly38ac706b80
[formerly2de4562585
] [formerly3fd473e25d
] [formerly0ecab8d44e
[formerly3fd473e25d
[formerly bec1391240d3bf2ac0da4e8b29ae6ce3985e3d32]]]] Former-commit-id:0ecab8d44e
Former-commit-id:46e676c816
[formerly0a125ce17b
] [formerly bd8e77a0c857b6855c5e1bd662bfd797af1e0932 [formerly78b278e4ef
]] Former-commit-id: 42f20bfbf1bf91b7d11aa8c27b6275d438752828 [formerly3f554d680f
] Former-commit-id:fb0f53feb8
22 lines
583 B
Bash
22 lines
583 B
Bash
#!/bin/bash
|
|
# This script will delete the Ingest.Grib queue from qpid.
|
|
# qpid must be running when this script is executed.
|
|
#
|
|
# This script will also remove the large grib file lock
|
|
#
|
|
# This update is required with 14.2.1.
|
|
#
|
|
|
|
PSQL="/awips2/psql/bin/psql"
|
|
|
|
echo "INFO: Deleting Ingest.Grib queue."
|
|
|
|
curl -X DELETE http://cp1f:8180/rest/queue/edex/Ingest.Grib > /dev/null
|
|
|
|
echo "INFO: Deleting GribIngestLargeFile cluster locks."
|
|
|
|
${PSQL} -U awips -d metadata -c "delete from cluster_task where name = 'GribIngestLargeFile';"
|
|
|
|
echo "INFO: The update was applied successfully."
|
|
|
|
exit 0
|