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/29 17:58:38 UTC

[GitHub] [trafficcontrol] zrhoffman commented on issue #6106: Traffic Ops database is not locked during Postinstall

zrhoffman commented on issue #6106:
URL: https://github.com/apache/trafficcontrol/issues/6106#issuecomment-981876641


   To be clear, the Postinstall script is designed to be able to be run more than once:
   https://github.com/apache/trafficcontrol/blob/9516de39fffa3ddda0346720ef98edabc8efa07e/traffic_ops/install/bin/_postinstall.py#L1113-L1123
   
   https://github.com/apache/trafficcontrol/blob/9516de39fffa3ddda0346720ef98edabc8efa07e/traffic_ops/install/bin/_postinstall.pl#L600-L608
   
   but if the Postinstall script is being run simultaneously, for the first time,. ,on 2 separate Traffic Ops hosts against the same TO DB, the check may still fail to find existing tables.


-- 
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