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/10/31 18:23:32 UTC
[GitHub] [trafficcontrol] rob05c commented on pull request #6146: Make TM recover from TO being unavailable at startup
rob05c commented on pull request #6146:
URL: https://github.com/apache/trafficcontrol/pull/6146#issuecomment-955769327
> what if TO restarts after TM is already running ? will TM recover ? will it attempt to establish a new session with TO ?
I haven't tested, but that should work. That should automatically be handled by the client: https://github.com/apache/trafficcontrol/blob/master/traffic_ops/toclientlib/toclientlib.go#L576
Any time a request gets a 401 or 403, it tries to login in again once. That handles cookie expirations when it's been too long between requests, but it should also handle if TO is restarted or the secret changed.
--
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