{"action":"opened","issue":{"url":"https://api.github.com/repos/nigelsmall/py2neo/issues/474","repository_url":"https://api.github.com/repos/nigelsmall/py2neo","labels_url":"https://api.github.com/repos/nigelsmall/py2neo/issues/474/labels{/name}","comments_url":"https://api.github.com/repos/nigelsmall/py2neo/issues/474/comments","events_url":"https://api.github.com/repos/nigelsmall/py2neo/issues/474/events","html_url":"https://github.com/nigelsmall/py2neo/issues/474","id":135166463,"number":474,"title":"Deadlock in multiprocess setup","user":{"login":"khafan246","id":17367550,"avatar_url":"https://avatars.githubusercontent.com/u/17367550?v=3","gravatar_id":"","url":"https://api.github.com/users/khafan246","html_url":"https://github.com/khafan246","followers_url":"https://api.github.com/users/khafan246/followers","following_url":"https://api.github.com/users/khafan246/following{/other_user}","gists_url":"https://api.github.com/users/khafan246/gists{/gist_id}","starred_url":"https://api.github.com/users/khafan246/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khafan246/subscriptions","organizations_url":"https://api.github.com/users/khafan246/orgs","repos_url":"https://api.github.com/users/khafan246/repos","events_url":"https://api.github.com/users/khafan246/events{/privacy}","received_events_url":"https://api.github.com/users/khafan246/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-21T06:07:15Z","updated_at":"2016-02-21T06:07:15Z","closed_at":null,"body":"Hello\r\nI'm trying to use latest v3 in a multiprocess setup (with concurrent.futures)\r\nin worker process, first i begin a transaction, doing some operations (create_unique, merge) and finally committing the transaction.\r\nbut i get this error every time:\r\n```\r\npy2neo.status.transaction.DeadlockDetected: LockClient[144] can't wait on resource RWLock[INDEX_ENTRY(613762531902278711), hash=316112251] since => LockClient[144] <-[:HELD_BY]- RWLock[NODE(741), hash=1408182123] <-[:WAITING_FOR]- LockClient[145] <-[:HELD_BY]- RWLock[INDEX_ENTRY(613762531902278711), hash=316112251]\r\n```\r\nat first, i was thinking that transaction commit is where the Deadlock occurs, but protecting the commit in a multiprocessing Lock context did not help."}}