{"action":"closed","issue":{"url":"https://api.github.com/repos/RichardKnop/machinery/issues/234","repository_url":"https://api.github.com/repos/RichardKnop/machinery","labels_url":"https://api.github.com/repos/RichardKnop/machinery/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/RichardKnop/machinery/issues/234/comments","events_url":"https://api.github.com/repos/RichardKnop/machinery/issues/234/events","html_url":"https://github.com/RichardKnop/machinery/issues/234","id":296415171,"number":234,"title":"Parallel executing is not supported when using 'eager' broker  and backend?","user":{"login":"steven-zou","id":5753287,"avatar_url":"https://avatars0.githubusercontent.com/u/5753287?v=4","gravatar_id":"","url":"https://api.github.com/users/steven-zou","html_url":"https://github.com/steven-zou","followers_url":"https://api.github.com/users/steven-zou/followers","following_url":"https://api.github.com/users/steven-zou/following{/other_user}","gists_url":"https://api.github.com/users/steven-zou/gists{/gist_id}","starred_url":"https://api.github.com/users/steven-zou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steven-zou/subscriptions","organizations_url":"https://api.github.com/users/steven-zou/orgs","repos_url":"https://api.github.com/users/steven-zou/repos","events_url":"https://api.github.com/users/steven-zou/events{/privacy}","received_events_url":"https://api.github.com/users/steven-zou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-12T15:28:21Z","updated_at":"2018-02-22T11:49:25Z","closed_at":"2018-02-22T11:49:25Z","author_association":"NONE","body":"**config.yaml:**\r\n```\r\nbroker: 'eager'\r\ndefault_queue: machinery_tasks\r\nresult_backend: 'eager'\r\n```\r\nWhen executing group/chord tasks, runtime error occurred:\r\n```\r\nconcurrent map writes\r\n\r\ngoroutine 22 [running]:\r\nruntime.throw(0x15e6701, 0x15)\r\n\t/usr/local/go/src/runtime/panic.go:605 +0x95 fp=0xc420055ca8 sp=0xc420055c88 pc=0x102bec5\r\nruntime.mapassign_faststr(0x1549680, 0xc420186150, 0xc42001cb70, 0x29, 0x81)\r\n\t/usr/local/go/src/runtime/hashmap_fast.go:861 +0x4da fp=0xc420055d28 sp=0xc420055ca8 pc=0x100eb0a\r\ngithub.com/RichardKnop/machinery/v1/backends.(*EagerBackend).updateState(0xc420047570, 0xc420083040, 0x0, 0xc420095440)\r\n\t/Users/szou/VMware/Projects/Go/src/github.com/RichardKnop/machinery/v1/backends/eager.go:196 +0x117 fp=0xc420055d98 sp=0xc420055d28 pc=0x131d987\r\n\r\n```\r\n\r\nChecked code line 196 in **github.com/RichardKnop/machinery/v1/backends/eager.go**, seems no any sync lock way used in the following method:\r\n```\r\nfunc (b *EagerBackend) updateState(s *tasks.TaskState) error\r\n```\r\n\r\n**Is it worked as design? 'eager' does not support parallel executing?** Looking forward to the answer. @RichardKnop  Thanks!\r\n"}}
{"actor":{"display_login":"RichardKnop"}}