{"action":"closed","issue":{"url":"https://api.github.com/repos/rixed/ramen/issues/521","repository_url":"https://api.github.com/repos/rixed/ramen","labels_url":"https://api.github.com/repos/rixed/ramen/issues/521/labels{/name}","comments_url":"https://api.github.com/repos/rixed/ramen/issues/521/comments","events_url":"https://api.github.com/repos/rixed/ramen/issues/521/events","html_url":"https://github.com/rixed/ramen/issues/521","id":376511018,"node_id":"MDU6SXNzdWUzNzY1MTEwMTg=","number":521,"title":"Corrupt out_ref blocks a worker forever.","user":{"login":"rixed","id":449990,"node_id":"MDQ6VXNlcjQ0OTk5MA==","avatar_url":"https://avatars1.githubusercontent.com/u/449990?v=4","gravatar_id":"","url":"https://api.github.com/users/rixed","html_url":"https://github.com/rixed","followers_url":"https://api.github.com/users/rixed/followers","following_url":"https://api.github.com/users/rixed/following{/other_user}","gists_url":"https://api.github.com/users/rixed/gists{/gist_id}","starred_url":"https://api.github.com/users/rixed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rixed/subscriptions","organizations_url":"https://api.github.com/users/rixed/orgs","repos_url":"https://api.github.com/users/rixed/repos","events_url":"https://api.github.com/users/rixed/events{/privacy}","received_events_url":"https://api.github.com/users/rixed/received_events","type":"User","site_admin":false},"labels":[{"id":783870689,"node_id":"MDU6TGFiZWw3ODM4NzA2ODk=","url":"https://api.github.com/repos/rixed/ramen/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"rixed","id":449990,"node_id":"MDQ6VXNlcjQ0OTk5MA==","avatar_url":"https://avatars1.githubusercontent.com/u/449990?v=4","gravatar_id":"","url":"https://api.github.com/users/rixed","html_url":"https://github.com/rixed","followers_url":"https://api.github.com/users/rixed/followers","following_url":"https://api.github.com/users/rixed/following{/other_user}","gists_url":"https://api.github.com/users/rixed/gists{/gist_id}","starred_url":"https://api.github.com/users/rixed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rixed/subscriptions","organizations_url":"https://api.github.com/users/rixed/orgs","repos_url":"https://api.github.com/users/rixed/repos","events_url":"https://api.github.com/users/rixed/events{/privacy}","received_events_url":"https://api.github.com/users/rixed/received_events","type":"User","site_admin":false},"assignees":[{"login":"rixed","id":449990,"node_id":"MDQ6VXNlcjQ0OTk5MA==","avatar_url":"https://avatars1.githubusercontent.com/u/449990?v=4","gravatar_id":"","url":"https://api.github.com/users/rixed","html_url":"https://github.com/rixed","followers_url":"https://api.github.com/users/rixed/followers","following_url":"https://api.github.com/users/rixed/following{/other_user}","gists_url":"https://api.github.com/users/rixed/gists{/gist_id}","starred_url":"https://api.github.com/users/rixed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rixed/subscriptions","organizations_url":"https://api.github.com/users/rixed/orgs","repos_url":"https://api.github.com/users/rixed/repos","events_url":"https://api.github.com/users/rixed/events{/privacy}","received_events_url":"https://api.github.com/users/rixed/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/rixed/ramen/milestones/25","html_url":"https://github.com/rixed/ramen/milestone/25","labels_url":"https://api.github.com/repos/rixed/ramen/milestones/25/labels","id":3586024,"node_id":"MDk6TWlsZXN0b25lMzU4NjAyNA==","number":25,"title":"v3-release","description":"Hit production","creator":{"login":"rixed","id":449990,"node_id":"MDQ6VXNlcjQ0OTk5MA==","avatar_url":"https://avatars1.githubusercontent.com/u/449990?v=4","gravatar_id":"","url":"https://api.github.com/users/rixed","html_url":"https://github.com/rixed","followers_url":"https://api.github.com/users/rixed/followers","following_url":"https://api.github.com/users/rixed/following{/other_user}","gists_url":"https://api.github.com/users/rixed/gists{/gist_id}","starred_url":"https://api.github.com/users/rixed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rixed/subscriptions","organizations_url":"https://api.github.com/users/rixed/orgs","repos_url":"https://api.github.com/users/rixed/repos","events_url":"https://api.github.com/users/rixed/events{/privacy}","received_events_url":"https://api.github.com/users/rixed/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":89,"state":"open","created_at":"2018-08-21T04:37:41Z","updated_at":"2018-11-01T18:45:20Z","due_on":"2018-10-10T07:00:00Z","closed_at":null},"comments":0,"created_at":"2018-11-01T18:21:25Z","updated_at":"2018-11-01T18:45:19Z","closed_at":"2018-11-01T18:45:19Z","author_association":"OWNER","body":"Here we can see that this worker writes in 2 different input ringbuf for the same child (only one of them being read of course.\r\n\r\n```\r\n{\r\n  \"/srv/ramen/workers/ringbufs/v6/sniffer/per_application/1min/sql/c3ca09a5e5ff3070aac7fce2dd9026c2/all.r\" =>\r\n  (\"X______________________X________XX_X_XXX____X_X_____\",0.0);\r\n\r\n  \"/srv/ramen/workers/ringbufs/v6/sniffer/csv/sql/1562841926913069036b6ee40278a17c/archive.b\" =>\r\n  (\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",1541063501.05);\r\n\r\n  \"/srv/ramen/workers/ringbufs/v6/sniffer/per_application/1min/sql/870f7e955ad343d2442098390c24d86a/all.r\" =>\r\n  (\"X______________________X________XX_XXXXXX___X_X_____\",0.0)\r\n}\r\n```\r\n\r\nThe supervisor daemon is supposed to clean this mess, but it does so only when it has nothing to start and stop (and due to #519 this was not happening).\r\nProper fix would be to force out_ref servicing from time to time regardless of stops/starts."}}
{"actor":{"display_login":"rixed"}}