{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/rdf4j/issues/623","repository_url":"https://api.github.com/repos/eclipse/rdf4j","labels_url":"https://api.github.com/repos/eclipse/rdf4j/issues/623/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/rdf4j/issues/623/comments","events_url":"https://api.github.com/repos/eclipse/rdf4j/issues/623/events","html_url":"https://github.com/eclipse/rdf4j/issues/623","id":183710663,"number":623,"title":"System repository does not sync the first commit [Sesame 2.8.9]","user":{"login":"elky87","id":508567,"avatar_url":"https://avatars.githubusercontent.com/u/508567?v=3","gravatar_id":"","url":"https://api.github.com/users/elky87","html_url":"https://github.com/elky87","followers_url":"https://api.github.com/users/elky87/followers","following_url":"https://api.github.com/users/elky87/following{/other_user}","gists_url":"https://api.github.com/users/elky87/gists{/gist_id}","starred_url":"https://api.github.com/users/elky87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elky87/subscriptions","organizations_url":"https://api.github.com/users/elky87/orgs","repos_url":"https://api.github.com/users/elky87/repos","events_url":"https://api.github.com/users/elky87/events{/privacy}","received_events_url":"https://api.github.com/users/elky87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-18T14:55:25Z","updated_at":"2016-10-18T22:08:59Z","closed_at":null,"body":"System repository is a memory repository which is created with syncdelay of 0L and persist = true\r\n\r\nThe first time I make changes to the system repository and commit the changes the commitInternal Method of MemoryStoreConnection first calls scheduleSyncTask and then calls notifySailChanged.\r\n\r\nScheduleSyncTask calls sync() which syncs on the following condition: \r\n\r\nif (persist && contentsChanged) \r\n\r\npersist is true but contentsChanged is false, because notify context changed is called after scheduleSyncTask.\r\n\r\nIf a sync delay of >0 is used this shouldn't cause a problem because then notifySailChanged is already called before sync() is called.\r\n\r\nProposed bugfix: In MemoryStoreConnection.java method commitInternal\r\nFirst: call notifySailChanged\r\nthen: call scheduleSyncTask"},"comment":{"url":"https://api.github.com/repos/eclipse/rdf4j/issues/comments/254654074","html_url":"https://github.com/eclipse/rdf4j/issues/623#issuecomment-254654074","issue_url":"https://api.github.com/repos/eclipse/rdf4j/issues/623","id":254654074,"user":{"login":"ansell","id":82365,"avatar_url":"https://avatars.githubusercontent.com/u/82365?v=3","gravatar_id":"","url":"https://api.github.com/users/ansell","html_url":"https://github.com/ansell","followers_url":"https://api.github.com/users/ansell/followers","following_url":"https://api.github.com/users/ansell/following{/other_user}","gists_url":"https://api.github.com/users/ansell/gists{/gist_id}","starred_url":"https://api.github.com/users/ansell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansell/subscriptions","organizations_url":"https://api.github.com/users/ansell/orgs","repos_url":"https://api.github.com/users/ansell/repos","events_url":"https://api.github.com/users/ansell/events{/privacy}","received_events_url":"https://api.github.com/users/ansell/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T22:08:59Z","updated_at":"2016-10-18T22:08:59Z","body":"Is this causing data loss? For example, when you shutdown the sail does it fail to sync at that point?"}}
{"actor":{"display_login":"ansell"}}