You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2020/06/23 19:16:41 UTC
[GitHub] [trafficserver] ezelkow1 opened a new issue #6938: Allow plugins to register config files to be monitored for reload
ezelkow1 opened a new issue #6938:
URL: https://github.com/apache/trafficserver/issues/6938
Currently if a plugin uses a config file, there is no way to be notified of updates to that specific file and the plugin itself will not be reloaded unless the remap.config changes
Proposing we add a new API that plugins can use to 'attach' their config file param to a list of files that also get monitored. When a config reload is issued, if the remap.config has changed then the remap should be reloaded through the usual method, however if any registered plugin configs have changed then the remap should be reloaded as well to be to unload/reload those plugins using all the proper reference counting that already exists.
This avoids using hacky implementations inside plugins of monitoring for mgmt updates and having to maintain their own methods to free things and reload files
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficserver] github-actions[bot] commented on issue #6938: Allow plugins to register config files to be monitored for reload
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #6938:
URL: https://github.com/apache/trafficserver/issues/6938#issuecomment-867269749
This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficserver] ezelkow1 closed issue #6938: Allow plugins to register config files to be monitored for reload
Posted by GitBox <gi...@apache.org>.
ezelkow1 closed issue #6938:
URL: https://github.com/apache/trafficserver/issues/6938
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficserver] ezelkow1 commented on issue #6938: Allow plugins to register config files to be monitored for reload
Posted by GitBox <gi...@apache.org>.
ezelkow1 commented on issue #6938:
URL: https://github.com/apache/trafficserver/issues/6938#issuecomment-867272527
Closing this issue, I already added an API for it :)
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org