You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2021/11/10 23:44:53 UTC

[GitHub] [trafficcontrol] rob05c commented on a change in pull request #6341: Changes the t3c process locking so that no two simultaneous t3c instances run.

rob05c commented on a change in pull request #6341:
URL: https://github.com/apache/trafficcontrol/pull/6341#discussion_r747071723



##########
File path: cache-config/t3c-apply/t3c-apply.go
##########
@@ -69,6 +69,9 @@ func main() {
 	} else if cfg == (config.Cfg{}) { // user used the --help option
 		os.Exit(Success)
 	}
+	if !lock.GetLock("/var/run/t3c.lock") {

Review comment:
       Does this need a `if !cfg.ReportOnly {` check like the old code had, to allow running in Report Mode while syncds runs?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org