{"action":"closed","issue":{"url":"https://api.github.com/repos/amient/affinity/issues/157","repository_url":"https://api.github.com/repos/amient/affinity","labels_url":"https://api.github.com/repos/amient/affinity/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/amient/affinity/issues/157/comments","events_url":"https://api.github.com/repos/amient/affinity/issues/157/events","html_url":"https://github.com/amient/affinity/issues/157","id":299576625,"node_id":"MDU6SXNzdWUyOTk1NzY2MjU=","number":157,"title":"Consistent Global State with partitioning suppport.","user":{"login":"michal-harish","id":2707231,"node_id":"MDQ6VXNlcjI3MDcyMzE=","avatar_url":"https://avatars1.githubusercontent.com/u/2707231?v=4","gravatar_id":"","url":"https://api.github.com/users/michal-harish","html_url":"https://github.com/michal-harish","followers_url":"https://api.github.com/users/michal-harish/followers","following_url":"https://api.github.com/users/michal-harish/following{/other_user}","gists_url":"https://api.github.com/users/michal-harish/gists{/gist_id}","starred_url":"https://api.github.com/users/michal-harish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michal-harish/subscriptions","organizations_url":"https://api.github.com/users/michal-harish/orgs","repos_url":"https://api.github.com/users/michal-harish/repos","events_url":"https://api.github.com/users/michal-harish/events{/privacy}","received_events_url":"https://api.github.com/users/michal-harish/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/amient/affinity/milestones/21","html_url":"https://github.com/amient/affinity/milestone/21","labels_url":"https://api.github.com/repos/amient/affinity/milestones/21/labels","id":3503894,"node_id":"MDk6TWlsZXN0b25lMzUwMzg5NA==","number":21,"title":"multipart-global-state","description":"","creator":{"login":"michal-harish","id":2707231,"node_id":"MDQ6VXNlcjI3MDcyMzE=","avatar_url":"https://avatars1.githubusercontent.com/u/2707231?v=4","gravatar_id":"","url":"https://api.github.com/users/michal-harish","html_url":"https://github.com/michal-harish","followers_url":"https://api.github.com/users/michal-harish/followers","following_url":"https://api.github.com/users/michal-harish/following{/other_user}","gists_url":"https://api.github.com/users/michal-harish/gists{/gist_id}","starred_url":"https://api.github.com/users/michal-harish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michal-harish/subscriptions","organizations_url":"https://api.github.com/users/michal-harish/orgs","repos_url":"https://api.github.com/users/michal-harish/repos","events_url":"https://api.github.com/users/michal-harish/events{/privacy}","received_events_url":"https://api.github.com/users/michal-harish/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":3,"state":"open","created_at":"2018-07-17T19:58:09Z","updated_at":"2018-07-22T17:20:26Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-02-23T02:14:55Z","updated_at":"2018-07-22T17:20:26Z","closed_at":"2018-07-22T17:20:26Z","author_association":"MEMBER","body":"1. As described in the README the global state currently is not fully consistent like the keyspaces. This is because the main purpose of global state is to provide local read access whereever it is referenced therefore it is automatically passive, relying on replication. However currently the writes are also local and hence concurrent.\r\n\r\n2. global state requires the underlying storage to have exactly one partition with the current implementation but this is not necessary\r\n\r\nTo make the state both consistent and support multiple partitions there will be one master that handles writes while everyone else is a read-replicate (as opposed to standby as is the case with keyspaces). Furthermore, any write operation may be a remote operation, must also update local kvstore to have linearizable character when combined with operations like getAndUpdate"}}
{"actor":{"display_login":"michal-harish"}}