{"action":"created","issue":{"url":"https://api.github.com/repos/onyx-platform/onyx/issues/503","labels_url":"https://api.github.com/repos/onyx-platform/onyx/issues/503/labels{/name}","comments_url":"https://api.github.com/repos/onyx-platform/onyx/issues/503/comments","events_url":"https://api.github.com/repos/onyx-platform/onyx/issues/503/events","html_url":"https://github.com/onyx-platform/onyx/issues/503","id":128480798,"number":503,"title":"Unnecessary churn in task allocation for non-grouped windowed tasks","user":{"login":"lbradstreet","id":252189,"avatar_url":"https://avatars.githubusercontent.com/u/252189?v=3","gravatar_id":"","url":"https://api.github.com/users/lbradstreet","html_url":"https://github.com/lbradstreet","followers_url":"https://api.github.com/users/lbradstreet/followers","following_url":"https://api.github.com/users/lbradstreet/following{/other_user}","gists_url":"https://api.github.com/users/lbradstreet/gists{/gist_id}","starred_url":"https://api.github.com/users/lbradstreet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbradstreet/subscriptions","organizations_url":"https://api.github.com/users/lbradstreet/orgs","repos_url":"https://api.github.com/users/lbradstreet/repos","events_url":"https://api.github.com/users/lbradstreet/events{/privacy}","received_events_url":"https://api.github.com/users/lbradstreet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/onyx-platform/onyx/labels/jepsen","name":"jepsen","color":"f7c6c7"},{"url":"https://api.github.com/repos/onyx-platform/onyx/labels/scheduler","name":"scheduler","color":"bfd4f2"}],"state":"closed","locked":false,"assignee":{"login":"MichaelDrogalis","id":918857,"avatar_url":"https://avatars.githubusercontent.com/u/918857?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelDrogalis","html_url":"https://github.com/MichaelDrogalis","followers_url":"https://api.github.com/users/MichaelDrogalis/followers","following_url":"https://api.github.com/users/MichaelDrogalis/following{/other_user}","gists_url":"https://api.github.com/users/MichaelDrogalis/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelDrogalis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelDrogalis/subscriptions","organizations_url":"https://api.github.com/users/MichaelDrogalis/orgs","repos_url":"https://api.github.com/users/MichaelDrogalis/repos","events_url":"https://api.github.com/users/MichaelDrogalis/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelDrogalis/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/onyx-platform/onyx/milestones/11","html_url":"https://github.com/onyx-platform/onyx/milestones/0.8.7","labels_url":"https://api.github.com/repos/onyx-platform/onyx/milestones/11/labels","id":1541850,"number":11,"title":"0.8.7","description":"","creator":{"login":"lbradstreet","id":252189,"avatar_url":"https://avatars.githubusercontent.com/u/252189?v=3","gravatar_id":"","url":"https://api.github.com/users/lbradstreet","html_url":"https://github.com/lbradstreet","followers_url":"https://api.github.com/users/lbradstreet/followers","following_url":"https://api.github.com/users/lbradstreet/following{/other_user}","gists_url":"https://api.github.com/users/lbradstreet/gists{/gist_id}","starred_url":"https://api.github.com/users/lbradstreet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbradstreet/subscriptions","organizations_url":"https://api.github.com/users/lbradstreet/orgs","repos_url":"https://api.github.com/users/lbradstreet/repos","events_url":"https://api.github.com/users/lbradstreet/events{/privacy}","received_events_url":"https://api.github.com/users/lbradstreet/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2016-01-25T15:44:10Z","updated_at":"2016-01-29T07:08:58Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-01-25T07:41:53Z","updated_at":"2016-01-29T07:08:58Z","closed_at":"2016-01-29T07:08:58Z","body":"Download:\r\n[results.edn.zip](https://github.com/onyx-platform/onyx/files/102880/results.edn.zip)\r\n\r\nThen view via the console dashboard:\r\n./onyx-dashboard -e ~/Dropbox/results.edn -j \"onyx.job-scheduler/balanced\" -s jepsen -o \"0.8.5-SNAPSHOT\" -f 3803dd05-87ea-4ac3-9df2-7ccdb70815ca\r\n\r\nThis will filter by a task using windowing/state management 3803dd05-87ea-4ac3-9df2-7ccdb70815ca. Jump to message id 126, and view in replica diff mode by pressing d.\r\n\r\nNotice that a leave-cluster event has occured for peer: 91a50764-3f0e-4407-b568-636908a2985c. This peer is not allocated to task 3803dd05-87ea-4ac3-9df2-7ccdb70815ca, and yet peer 622286d3-1ea8-4032-9aad-821a3d676fbc is moved off the task, and peer 5cb4c0b5-a794-4d19-8d90-a4e8698ee529 is placed on it. Peer 5cb4c0b5-a794-4d19-8d90-a4e8698ee529 should be placed on task 145b859a-1a33-4a93-8e78-ccc483066396 where the windowed/state management task was moved to.\r\n\r\nWindowed/state managed tasks should possibly be treated specially to reduce churn, however in this case the reallocation caused two peers to switch tasks when only one was necessary.\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/onyx-platform/onyx/issues/comments/176608671","html_url":"https://github.com/onyx-platform/onyx/issues/503#issuecomment-176608671","issue_url":"https://api.github.com/repos/onyx-platform/onyx/issues/503","id":176608671,"user":{"login":"lbradstreet","id":252189,"avatar_url":"https://avatars.githubusercontent.com/u/252189?v=3","gravatar_id":"","url":"https://api.github.com/users/lbradstreet","html_url":"https://github.com/lbradstreet","followers_url":"https://api.github.com/users/lbradstreet/followers","following_url":"https://api.github.com/users/lbradstreet/following{/other_user}","gists_url":"https://api.github.com/users/lbradstreet/gists{/gist_id}","starred_url":"https://api.github.com/users/lbradstreet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbradstreet/subscriptions","organizations_url":"https://api.github.com/users/lbradstreet/orgs","repos_url":"https://api.github.com/users/lbradstreet/repos","events_url":"https://api.github.com/users/lbradstreet/events{/privacy}","received_events_url":"https://api.github.com/users/lbradstreet/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T07:08:58Z","updated_at":"2016-01-29T07:08:58Z","body":"Closed in #511 "}}