You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

We need a way to perform a graceful restart of ATS. One example of the need for this is the reloading of plugins. Both configs and new code (.so). This page should hold all the ideas for this project going forward. The JIRA on this is TS-1969.

 

Proposed Solutions

New Process

Start a new process and transition sockets. Then drain existing connections from old process and close. We would need to handle a read only cache and there may be some complications around HostDB. 

 

  • Complete config reload (for all those possible that are not covered today)
    • Cover config files not covered today
      • traffic_line -x inventory
      • RecordsConfig.cc review for correctness
    • Make a generic way to signal plugins of their config change
    • Load new plugins
  • Drain connections
  • Restart TS in the background

 

  • Start new process
  • Bind same ports
  • Read only cache
  • Cache hand over
  • Ram cache handover
  • No labels