{"action":"created","issue":{"url":"https://api.github.com/repos/jbosstm/narayana/issues/1049","repository_url":"https://api.github.com/repos/jbosstm/narayana","labels_url":"https://api.github.com/repos/jbosstm/narayana/issues/1049/labels{/name}","comments_url":"https://api.github.com/repos/jbosstm/narayana/issues/1049/comments","events_url":"https://api.github.com/repos/jbosstm/narayana/issues/1049/events","html_url":"https://github.com/jbosstm/narayana/pull/1049","id":170757109,"number":1049,"title":"JBTM-2725 Fix race condition issue in ControlWrapper#rollback","user":{"login":"tadamski","id":3254037,"avatar_url":"https://avatars.githubusercontent.com/u/3254037?v=3","gravatar_id":"","url":"https://api.github.com/users/tadamski","html_url":"https://github.com/tadamski","followers_url":"https://api.github.com/users/tadamski/followers","following_url":"https://api.github.com/users/tadamski/following{/other_user}","gists_url":"https://api.github.com/users/tadamski/gists{/gist_id}","starred_url":"https://api.github.com/users/tadamski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tadamski/subscriptions","organizations_url":"https://api.github.com/users/tadamski/orgs","repos_url":"https://api.github.com/users/tadamski/repos","events_url":"https://api.github.com/users/tadamski/events{/privacy}","received_events_url":"https://api.github.com/users/tadamski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jbosstm/narayana/labels/Ready%20For%20Review","name":"Ready For Review","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"mmusgrov","id":493492,"avatar_url":"https://avatars.githubusercontent.com/u/493492?v=3","gravatar_id":"","url":"https://api.github.com/users/mmusgrov","html_url":"https://github.com/mmusgrov","followers_url":"https://api.github.com/users/mmusgrov/followers","following_url":"https://api.github.com/users/mmusgrov/following{/other_user}","gists_url":"https://api.github.com/users/mmusgrov/gists{/gist_id}","starred_url":"https://api.github.com/users/mmusgrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmusgrov/subscriptions","organizations_url":"https://api.github.com/users/mmusgrov/orgs","repos_url":"https://api.github.com/users/mmusgrov/repos","events_url":"https://api.github.com/users/mmusgrov/events{/privacy}","received_events_url":"https://api.github.com/users/mmusgrov/received_events","type":"User","site_admin":false},"assignees":[{"login":"mmusgrov","id":493492,"avatar_url":"https://avatars.githubusercontent.com/u/493492?v=3","gravatar_id":"","url":"https://api.github.com/users/mmusgrov","html_url":"https://github.com/mmusgrov","followers_url":"https://api.github.com/users/mmusgrov/followers","following_url":"https://api.github.com/users/mmusgrov/following{/other_user}","gists_url":"https://api.github.com/users/mmusgrov/gists{/gist_id}","starred_url":"https://api.github.com/users/mmusgrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmusgrov/subscriptions","organizations_url":"https://api.github.com/users/mmusgrov/orgs","repos_url":"https://api.github.com/users/mmusgrov/repos","events_url":"https://api.github.com/users/mmusgrov/events{/privacy}","received_events_url":"https://api.github.com/users/mmusgrov/received_events","type":"User","site_admin":false}],"milestone":null,"comments":28,"created_at":"2016-08-11T21:56:39Z","updated_at":"2016-08-12T13:04:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jbosstm/narayana/pulls/1049","html_url":"https://github.com/jbosstm/narayana/pull/1049","diff_url":"https://github.com/jbosstm/narayana/pull/1049.diff","patch_url":"https://github.com/jbosstm/narayana/pull/1049.patch"},"body":"https://issues.jboss.org/browse/JBTM-2575\r\n\r\nWhen the thread rolls back the transaction immediately after the reaper they both end in ControlWrapper#rollback method which is unexpected and leads to error in ArjunaTransactionImple class. It should be synchronized so that only one thread performs the ArjunaTransactionImple#rollback method. Synchronizing ControlWrapper#rollback method doesn't work as there are lot of those objects created for one transaction. I have synchronized the invocation on ControlImple object. As I understand the code this object is shared across the whole transaction. I have run the tests with the update and no error occurs."},"comment":{"url":"https://api.github.com/repos/jbosstm/narayana/issues/comments/239440535","html_url":"https://github.com/jbosstm/narayana/pull/1049#issuecomment-239440535","issue_url":"https://api.github.com/repos/jbosstm/narayana/issues/1049","id":239440535,"user":{"login":"jbosstm-bot","id":2427192,"avatar_url":"https://avatars.githubusercontent.com/u/2427192?v=3","gravatar_id":"","url":"https://api.github.com/users/jbosstm-bot","html_url":"https://github.com/jbosstm-bot","followers_url":"https://api.github.com/users/jbosstm-bot/followers","following_url":"https://api.github.com/users/jbosstm-bot/following{/other_user}","gists_url":"https://api.github.com/users/jbosstm-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/jbosstm-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbosstm-bot/subscriptions","organizations_url":"https://api.github.com/users/jbosstm-bot/orgs","repos_url":"https://api.github.com/users/jbosstm-bot/repos","events_url":"https://api.github.com/users/jbosstm-bot/events{/privacy}","received_events_url":"https://api.github.com/users/jbosstm-bot/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T13:04:46Z","updated_at":"2016-08-12T13:04:46Z","body":"Started testing this pull request with QA_JTS_JDKORB profile: http://albany.eng.hst.ams2.redhat.com/job/btny-pulls-narayana-jdk8/PROFILE=QA_JTS_JDKORB,jdk=jdk8.latest,label=linux/1603/"}}
{"actor":{"display_login":"jbosstm-bot"}}