You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by de...@apache.org on 2017/05/09 18:12:11 UTC
[2/3] incubator-trafficcontrol git commit: add revalidation check
when no update is queued
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 <de...@cable.comcast.com>
Authored: Mon May 8 13:56:22 2017 -0400
Committer: Dewayne Richardson <de...@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 {