trafficcontrol-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dewr...@apache.org
Subject [2/3] incubator-trafficcontrol git commit: add revalidation check when no update is queued
Date Tue, 09 May 2017 18:12:11 GMT
add revalidation check when no update is queued


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/cc7478aa
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/cc7478aa
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/cc7478aa

Branch: refs/heads/master
Commit: cc7478aa25cacd2eeadda909ffc394fbb22e7885
Parents: 4833c57
Author: Derek Gelinas <derek_gelinas@cable.comcast.com>
Authored: Mon May 8 13:56:22 2017 -0400
Committer: Dewayne Richardson <dewrich@apache.org>
Committed: Tue May 9 12:12:08 2017 -0600

----------------------------------------------------------------------
 traffic_ops/bin/traffic_ops_ort.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/cc7478aa/traffic_ops/bin/traffic_ops_ort.pl
----------------------------------------------------------------------
diff --git a/traffic_ops/bin/traffic_ops_ort.pl b/traffic_ops/bin/traffic_ops_ort.pl
index 433b6b6..1c77567 100755
--- a/traffic_ops/bin/traffic_ops_ort.pl
+++ b/traffic_ops/bin/traffic_ops_ort.pl
@@ -936,7 +936,8 @@ sub check_syncds_state {
 			}
 		}
 		elsif ( $script_mode == $SYNCDS && $upd_pending != 1 ) {
-			( $log_level >> $ERROR ) && print "ERROR In syncds mode, but no syncds update
needs to be applied. I'm outta here.\n";
+			( $log_level >> $ERROR ) && print "ERROR In syncds mode, but no syncds update
needs to be applied. Running revalidation before exiting.\n";
+			&revalidate_while_sleeping();
 			exit 0;
 		}
 		else {


Mime
View raw message