{"action":"closed","issue":{"url":"https://api.github.com/repos/nhl/link-move/issues/113","repository_url":"https://api.github.com/repos/nhl/link-move","labels_url":"https://api.github.com/repos/nhl/link-move/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/nhl/link-move/issues/113/comments","events_url":"https://api.github.com/repos/nhl/link-move/issues/113/events","html_url":"https://github.com/nhl/link-move/issues/113","id":175105876,"number":113,"title":"Upgrade Cayenne to 4.0.M4 to fix overlapping transactions","user":{"login":"andrus","id":42668,"avatar_url":"https://avatars.githubusercontent.com/u/42668?v=3","gravatar_id":"","url":"https://api.github.com/users/andrus","html_url":"https://github.com/andrus","followers_url":"https://api.github.com/users/andrus/followers","following_url":"https://api.github.com/users/andrus/following{/other_user}","gists_url":"https://api.github.com/users/andrus/gists{/gist_id}","starred_url":"https://api.github.com/users/andrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrus/subscriptions","organizations_url":"https://api.github.com/users/andrus/orgs","repos_url":"https://api.github.com/users/andrus/repos","events_url":"https://api.github.com/users/andrus/events{/privacy}","received_events_url":"https://api.github.com/users/andrus/received_events","type":"User","site_admin":false},"labels":[{"id":121308502,"url":"https://api.github.com/repos/nhl/link-move/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/nhl/link-move/milestones/11","html_url":"https://github.com/nhl/link-move/milestone/11","labels_url":"https://api.github.com/repos/nhl/link-move/milestones/11/labels","id":1974905,"number":11,"title":"2.2","description":"","creator":{"login":"andrus","id":42668,"avatar_url":"https://avatars.githubusercontent.com/u/42668?v=3","gravatar_id":"","url":"https://api.github.com/users/andrus","html_url":"https://github.com/andrus","followers_url":"https://api.github.com/users/andrus/followers","following_url":"https://api.github.com/users/andrus/following{/other_user}","gists_url":"https://api.github.com/users/andrus/gists{/gist_id}","starred_url":"https://api.github.com/users/andrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrus/subscriptions","organizations_url":"https://api.github.com/users/andrus/orgs","repos_url":"https://api.github.com/users/andrus/repos","events_url":"https://api.github.com/users/andrus/events{/privacy}","received_events_url":"https://api.github.com/users/andrus/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2016-08-31T12:11:02Z","updated_at":"2016-12-16T13:56:17Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-09-05T16:58:15Z","updated_at":"2016-12-16T13:56:17Z","closed_at":"2016-12-16T13:56:17Z","body":"There is a transaction handling issue (see below) reported in Cayenne that originated from LinkMove scenario of overlapping operations between two Cayenne stacks. Stack 1 is JdbcConnector (ETL source), stack 2 is the target Cayenne stack. The issue is caused by the fact that both source and target are wrapped in a source transaction. \n\nRelated Cayenne Jiras are:\n- https://issues.apache.org/jira/browse/CAY-2110\n- https://issues.apache.org/jira/browse/CAY-2111\n\nCAY-2111 is already fixed as of this writing, so the issue should no longer occur. CAY-2110 fix is optional. So we need to plan an upgrade to Cayenne 4.0.M4 once that becomes official. Until then there are unofficial builds and snapshots that the users can use at their own risk. \n\n```\norg.apache.cayenne.CayenneRuntimeException: [v.4.0.M4.4937cd0 May 25 2016 12:27:14] java.lang.IllegalStateException: Transaction must have 'STATUS_ACTIVE' to be committed. Current status: STATUS_MARKED_ROLLEDBACK\nat org.apache.cayenne.access.TransactionResultIteratorDecorator.close(TransactionResultIteratorDecorator.java:67)\n...\nCaused by: java.lang.IllegalStateException: Transaction must have 'STATUS_ACTIVE' to be committed. Current status: STATUS_MARKED_ROLLEDBACK\nat org.apache.cayenne.tx.BaseTransaction.commit(BaseTransaction.java:126)\nat org.apache.cayenne.access.TransactionResultIteratorDecorator.close(TransactionResultIteratorDecorator.java:60)\n... 12 more\n```\n"}}
{"actor":{"display_login":"andrus"}}