{"action":"created","issue":{"url":"https://api.github.com/repos/apache/trafficserver/issues/3214","repository_url":"https://api.github.com/repos/apache/trafficserver","labels_url":"https://api.github.com/repos/apache/trafficserver/issues/3214/labels{/name}","comments_url":"https://api.github.com/repos/apache/trafficserver/issues/3214/comments","events_url":"https://api.github.com/repos/apache/trafficserver/issues/3214/events","html_url":"https://github.com/apache/trafficserver/pull/3214","id":301633816,"number":3214,"title":"Removes the delay when sending traffic_ctl msgs","user":{"login":"xf6wang","id":22967511,"avatar_url":"https://avatars1.githubusercontent.com/u/22967511?v=4","gravatar_id":"","url":"https://api.github.com/users/xf6wang","html_url":"https://github.com/xf6wang","followers_url":"https://api.github.com/users/xf6wang/followers","following_url":"https://api.github.com/users/xf6wang/following{/other_user}","gists_url":"https://api.github.com/users/xf6wang/gists{/gist_id}","starred_url":"https://api.github.com/users/xf6wang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xf6wang/subscriptions","organizations_url":"https://api.github.com/users/xf6wang/orgs","repos_url":"https://api.github.com/users/xf6wang/repos","events_url":"https://api.github.com/users/xf6wang/events{/privacy}","received_events_url":"https://api.github.com/users/xf6wang/received_events","type":"User","site_admin":false},"labels":[{"id":374863326,"url":"https://api.github.com/repos/apache/trafficserver/labels/Tools","name":"Tools","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":{"login":"xf6wang","id":22967511,"avatar_url":"https://avatars1.githubusercontent.com/u/22967511?v=4","gravatar_id":"","url":"https://api.github.com/users/xf6wang","html_url":"https://github.com/xf6wang","followers_url":"https://api.github.com/users/xf6wang/followers","following_url":"https://api.github.com/users/xf6wang/following{/other_user}","gists_url":"https://api.github.com/users/xf6wang/gists{/gist_id}","starred_url":"https://api.github.com/users/xf6wang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xf6wang/subscriptions","organizations_url":"https://api.github.com/users/xf6wang/orgs","repos_url":"https://api.github.com/users/xf6wang/repos","events_url":"https://api.github.com/users/xf6wang/events{/privacy}","received_events_url":"https://api.github.com/users/xf6wang/received_events","type":"User","site_admin":false},"assignees":[{"login":"xf6wang","id":22967511,"avatar_url":"https://avatars1.githubusercontent.com/u/22967511?v=4","gravatar_id":"","url":"https://api.github.com/users/xf6wang","html_url":"https://github.com/xf6wang","followers_url":"https://api.github.com/users/xf6wang/followers","following_url":"https://api.github.com/users/xf6wang/following{/other_user}","gists_url":"https://api.github.com/users/xf6wang/gists{/gist_id}","starred_url":"https://api.github.com/users/xf6wang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xf6wang/subscriptions","organizations_url":"https://api.github.com/users/xf6wang/orgs","repos_url":"https://api.github.com/users/xf6wang/repos","events_url":"https://api.github.com/users/xf6wang/events{/privacy}","received_events_url":"https://api.github.com/users/xf6wang/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/apache/trafficserver/milestones/6","html_url":"https://github.com/apache/trafficserver/milestone/6","labels_url":"https://api.github.com/repos/apache/trafficserver/milestones/6/labels","id":1763406,"number":6,"title":"8.0.0","description":"","creator":{"login":"zwoop","id":202131,"avatar_url":"https://avatars1.githubusercontent.com/u/202131?v=4","gravatar_id":"","url":"https://api.github.com/users/zwoop","html_url":"https://github.com/zwoop","followers_url":"https://api.github.com/users/zwoop/followers","following_url":"https://api.github.com/users/zwoop/following{/other_user}","gists_url":"https://api.github.com/users/zwoop/gists{/gist_id}","starred_url":"https://api.github.com/users/zwoop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zwoop/subscriptions","organizations_url":"https://api.github.com/users/zwoop/orgs","repos_url":"https://api.github.com/users/zwoop/repos","events_url":"https://api.github.com/users/zwoop/events{/privacy}","received_events_url":"https://api.github.com/users/zwoop/received_events","type":"User","site_admin":false},"open_issues":75,"closed_issues":895,"state":"open","created_at":"2016-05-12T22:13:34Z","updated_at":"2018-03-09T17:02:04Z","due_on":"2018-06-18T07:00:00Z","closed_at":null},"comments":14,"created_at":"2018-03-02T02:39:44Z","updated_at":"2018-03-10T04:03:47Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/apache/trafficserver/pulls/3214","html_url":"https://github.com/apache/trafficserver/pull/3214","diff_url":"https://github.com/apache/trafficserver/pull/3214.diff","patch_url":"https://github.com/apache/trafficserver/pull/3214.patch"},"body":"New PR, couldn't reopen because force pushed.\r\n\r\nThe RPC code used for traffic_ctl to communicate with traffic_server has a long delay associated. There's a situation (which happens often) where both LocalManager and ProcessManager are polling for messages over the socket. Both can't write so there's nothing to read. Currently, they rely on a timeout to stop polling and start sending messages. This fix:\r\n\r\n1. allows for external events (ie. adding to a write queue) to trigger and eventfd to wakeup the manager\r\n2. removes static wait, previously in ProcessManager.cc:175\r\n3. makes `ProcessManager` handle messages as they arrive, similar to what `LocalManager` does\r\n\r\nEffectively, it actively stops polling rather than passively relying on timeouts. This causes msgs sent from traffic_ctl to be quickly received by traffic_server."},"comment":{"url":"https://api.github.com/repos/apache/trafficserver/issues/comments/372000716","html_url":"https://github.com/apache/trafficserver/pull/3214#issuecomment-372000716","issue_url":"https://api.github.com/repos/apache/trafficserver/issues/3214","id":372000716,"user":{"login":"zwoop","id":202131,"avatar_url":"https://avatars1.githubusercontent.com/u/202131?v=4","gravatar_id":"","url":"https://api.github.com/users/zwoop","html_url":"https://github.com/zwoop","followers_url":"https://api.github.com/users/zwoop/followers","following_url":"https://api.github.com/users/zwoop/following{/other_user}","gists_url":"https://api.github.com/users/zwoop/gists{/gist_id}","starred_url":"https://api.github.com/users/zwoop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zwoop/subscriptions","organizations_url":"https://api.github.com/users/zwoop/orgs","repos_url":"https://api.github.com/users/zwoop/repos","events_url":"https://api.github.com/users/zwoop/events{/privacy}","received_events_url":"https://api.github.com/users/zwoop/received_events","type":"User","site_admin":false},"created_at":"2018-03-10T04:03:47Z","updated_at":"2018-03-10T04:03:47Z","author_association":"CONTRIBUTOR","body":"[approve ci]."}}
{"actor":{"display_login":"zwoop"}}