{"action":"closed","issue":{"url":"https://api.github.com/repos/perimetral/deepstream.io-storage-cockroachdb/issues/1","repository_url":"https://api.github.com/repos/perimetral/deepstream.io-storage-cockroachdb","labels_url":"https://api.github.com/repos/perimetral/deepstream.io-storage-cockroachdb/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/perimetral/deepstream.io-storage-cockroachdb/issues/1/comments","events_url":"https://api.github.com/repos/perimetral/deepstream.io-storage-cockroachdb/issues/1/events","html_url":"https://github.com/perimetral/deepstream.io-storage-cockroachdb/issues/1","id":194442520,"number":1,"title":"The code for UPSERT is not transactional","user":{"login":"knz","id":642886,"avatar_url":"https://avatars.githubusercontent.com/u/642886?v=3","gravatar_id":"","url":"https://api.github.com/users/knz","html_url":"https://github.com/knz","followers_url":"https://api.github.com/users/knz/followers","following_url":"https://api.github.com/users/knz/following{/other_user}","gists_url":"https://api.github.com/users/knz/gists{/gist_id}","starred_url":"https://api.github.com/users/knz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knz/subscriptions","organizations_url":"https://api.github.com/users/knz/orgs","repos_url":"https://api.github.com/users/knz/repos","events_url":"https://api.github.com/users/knz/events{/privacy}","received_events_url":"https://api.github.com/users/knz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-08T20:57:51Z","updated_at":"2016-12-09T13:49:50Z","closed_at":"2016-12-09T13:49:50Z","body":"Currently the adapter issues separate select/insert/update statements for the deepstream `_upsert` primitive. I believe this is bound to cause a problem if there is concurrent access to the table.\r\n\r\nTo solve this problem you can use the `UPSERT` statement that is now recognized by CockroachDB."}}
{"actor":{"display_login":"perimetral"}}