{"action":"created","issue":{"url":"https://api.github.com/repos/javers/javers/issues/411","repository_url":"https://api.github.com/repos/javers/javers","labels_url":"https://api.github.com/repos/javers/javers/issues/411/labels{/name}","comments_url":"https://api.github.com/repos/javers/javers/issues/411/comments","events_url":"https://api.github.com/repos/javers/javers/issues/411/events","html_url":"https://github.com/javers/javers/issues/411","id":168505646,"number":411,"title":"Clusterable JaVers","user":{"login":"bartoszwalacik","id":2511028,"avatar_url":"https://avatars.githubusercontent.com/u/2511028?v=3","gravatar_id":"","url":"https://api.github.com/users/bartoszwalacik","html_url":"https://github.com/bartoszwalacik","followers_url":"https://api.github.com/users/bartoszwalacik/followers","following_url":"https://api.github.com/users/bartoszwalacik/following{/other_user}","gists_url":"https://api.github.com/users/bartoszwalacik/gists{/gist_id}","starred_url":"https://api.github.com/users/bartoszwalacik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartoszwalacik/subscriptions","organizations_url":"https://api.github.com/users/bartoszwalacik/orgs","repos_url":"https://api.github.com/users/bartoszwalacik/repos","events_url":"https://api.github.com/users/bartoszwalacik/events{/privacy}","received_events_url":"https://api.github.com/users/bartoszwalacik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/javers/javers/labels/enhancement","name":"enhancement","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-31T07:12:14Z","updated_at":"2016-10-12T12:10:20Z","closed_at":null,"body":"JaVers should not fail when an applictions which uses JaVers is deployed in clustered environment.\r\nWhich means many JVMs with JaVers instances are writing to single database instance (single JaVersRepository).\r\n\r\nAt least two enhancements should be implemented:\r\n\r\n* CommitId generator have to be reimplemented using database synchronization to provide subsequent CommitId numbers. In SQL it could be a sequence.\r\n* Snapshot.version field is vulnerable for concurrent writes. We can try with optimistic locking algorithm here (exception will be thrown on concurrent updates of the same domain object)\r\n\r\nGood integration test should be created (many JaVers instances writing to the same DB)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/javers/javers/issues/comments/253196243","html_url":"https://github.com/javers/javers/issues/411#issuecomment-253196243","issue_url":"https://api.github.com/repos/javers/javers/issues/411","id":253196243,"user":{"login":"achimbitzer","id":8803196,"avatar_url":"https://avatars.githubusercontent.com/u/8803196?v=3","gravatar_id":"","url":"https://api.github.com/users/achimbitzer","html_url":"https://github.com/achimbitzer","followers_url":"https://api.github.com/users/achimbitzer/followers","following_url":"https://api.github.com/users/achimbitzer/following{/other_user}","gists_url":"https://api.github.com/users/achimbitzer/gists{/gist_id}","starred_url":"https://api.github.com/users/achimbitzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achimbitzer/subscriptions","organizations_url":"https://api.github.com/users/achimbitzer/orgs","repos_url":"https://api.github.com/users/achimbitzer/repos","events_url":"https://api.github.com/users/achimbitzer/events{/privacy}","received_events_url":"https://api.github.com/users/achimbitzer/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T12:10:20Z","updated_at":"2016-10-12T12:10:20Z","body":"Sounds great, thanks for your quick replies!"}}
{"actor":{"display_login":"achimbitzer"}}