{"action":"created","issue":{"url":"https://api.github.com/repos/marklogic/java-client-api/issues/325","labels_url":"https://api.github.com/repos/marklogic/java-client-api/issues/325/labels{/name}","comments_url":"https://api.github.com/repos/marklogic/java-client-api/issues/325/comments","events_url":"https://api.github.com/repos/marklogic/java-client-api/issues/325/events","html_url":"https://github.com/marklogic/java-client-api/issues/325","id":96094905,"number":325,"title":"JerseyServices.postResource was not passing through transaction (txid)","user":{"login":"sammefford","id":298950,"avatar_url":"https://avatars.githubusercontent.com/u/298950?v=3","gravatar_id":"","url":"https://api.github.com/users/sammefford","html_url":"https://github.com/sammefford","followers_url":"https://api.github.com/users/sammefford/followers","following_url":"https://api.github.com/users/sammefford/following{/other_user}","gists_url":"https://api.github.com/users/sammefford/gists{/gist_id}","starred_url":"https://api.github.com/users/sammefford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammefford/subscriptions","organizations_url":"https://api.github.com/users/sammefford/orgs","repos_url":"https://api.github.com/users/sammefford/repos","events_url":"https://api.github.com/users/sammefford/events{/privacy}","received_events_url":"https://api.github.com/users/sammefford/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/marklogic/java-client-api/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/marklogic/java-client-api/labels/critical","name":"critical","color":"eb6420"},{"url":"https://api.github.com/repos/marklogic/java-client-api/labels/test","name":"test","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"georgeajit","id":8634482,"avatar_url":"https://avatars.githubusercontent.com/u/8634482?v=3","gravatar_id":"","url":"https://api.github.com/users/georgeajit","html_url":"https://github.com/georgeajit","followers_url":"https://api.github.com/users/georgeajit/followers","following_url":"https://api.github.com/users/georgeajit/following{/other_user}","gists_url":"https://api.github.com/users/georgeajit/gists{/gist_id}","starred_url":"https://api.github.com/users/georgeajit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgeajit/subscriptions","organizations_url":"https://api.github.com/users/georgeajit/orgs","repos_url":"https://api.github.com/users/georgeajit/repos","events_url":"https://api.github.com/users/georgeajit/events{/privacy}","received_events_url":"https://api.github.com/users/georgeajit/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/marklogic/java-client-api/milestones/14","html_url":"https://github.com/marklogic/java-client-api/milestones/java-client-api-3.0.4","labels_url":"https://api.github.com/repos/marklogic/java-client-api/milestones/14/labels","id":1082975,"number":14,"title":"java-client-api-3.0.4","description":"","creator":{"login":"sammefford","id":298950,"avatar_url":"https://avatars.githubusercontent.com/u/298950?v=3","gravatar_id":"","url":"https://api.github.com/users/sammefford","html_url":"https://github.com/sammefford","followers_url":"https://api.github.com/users/sammefford/followers","following_url":"https://api.github.com/users/sammefford/following{/other_user}","gists_url":"https://api.github.com/users/sammefford/gists{/gist_id}","starred_url":"https://api.github.com/users/sammefford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammefford/subscriptions","organizations_url":"https://api.github.com/users/sammefford/orgs","repos_url":"https://api.github.com/users/sammefford/repos","events_url":"https://api.github.com/users/sammefford/events{/privacy}","received_events_url":"https://api.github.com/users/sammefford/received_events","type":"User","site_admin":false},"open_issues":29,"closed_issues":5,"state":"open","created_at":"2015-04-24T22:45:09Z","updated_at":"2015-07-20T15:55:16Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-07-20T15:55:16Z","updated_at":"2015-07-20T16:17:08Z","closed_at":null,"body":"In testing GraphManager I noticed that I was getting a deadlock until transaction timeout attempting a write then a merge on the same graph.  That translates to a REST PUT then POST on the same uri in MarkLogic.  In troubleshooting I found that JerseyServices.postResource was simply not passing the txid on the REST request.  This is a problem that would affect any post requests with a transaction to a REST extension.  We need to back-port this to the b2_0 branch (I'll create another issue)"},"comment":{"url":"https://api.github.com/repos/marklogic/java-client-api/issues/comments/122934506","html_url":"https://github.com/marklogic/java-client-api/issues/325#issuecomment-122934506","issue_url":"https://api.github.com/repos/marklogic/java-client-api/issues/325","id":122934506,"user":{"login":"sammefford","id":298950,"avatar_url":"https://avatars.githubusercontent.com/u/298950?v=3","gravatar_id":"","url":"https://api.github.com/users/sammefford","html_url":"https://github.com/sammefford","followers_url":"https://api.github.com/users/sammefford/followers","following_url":"https://api.github.com/users/sammefford/following{/other_user}","gists_url":"https://api.github.com/users/sammefford/gists{/gist_id}","starred_url":"https://api.github.com/users/sammefford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammefford/subscriptions","organizations_url":"https://api.github.com/users/sammefford/orgs","repos_url":"https://api.github.com/users/sammefford/repos","events_url":"https://api.github.com/users/sammefford/events{/privacy}","received_events_url":"https://api.github.com/users/sammefford/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T16:17:08Z","updated_at":"2015-07-20T16:17:08Z","body":"Oops, when I said b2_0 branch, I meant 2.0-develop branch (and thus 2.0-master, etc).  But it turns out we don't need to back-port it at all because transactions are new in 3.x for the *Resource methods."}}