{"action":"closed","issue":{"url":"https://api.github.com/repos/dzitkowskik/mini-dos/issues/59","labels_url":"https://api.github.com/repos/dzitkowskik/mini-dos/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/dzitkowskik/mini-dos/issues/59/comments","events_url":"https://api.github.com/repos/dzitkowskik/mini-dos/issues/59/events","html_url":"https://github.com/dzitkowskik/mini-dos/issues/59","id":122827266,"number":59,"title":"Create/Alter table - new node case","user":{"login":"dzitkowskik","id":4518745,"avatar_url":"https://avatars.githubusercontent.com/u/4518745?v=3","gravatar_id":"","url":"https://api.github.com/users/dzitkowskik","html_url":"https://github.com/dzitkowskik","followers_url":"https://api.github.com/users/dzitkowskik/followers","following_url":"https://api.github.com/users/dzitkowskik/following{/other_user}","gists_url":"https://api.github.com/users/dzitkowskik/gists{/gist_id}","starred_url":"https://api.github.com/users/dzitkowskik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzitkowskik/subscriptions","organizations_url":"https://api.github.com/users/dzitkowskik/orgs","repos_url":"https://api.github.com/users/dzitkowskik/repos","events_url":"https://api.github.com/users/dzitkowskik/events{/privacy}","received_events_url":"https://api.github.com/users/dzitkowskik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dzitkowskik/mini-dos/labels/Documentation","name":"Documentation","color":"ededed"},{"url":"https://api.github.com/repos/dzitkowskik/mini-dos/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"dzitkowskik","id":4518745,"avatar_url":"https://avatars.githubusercontent.com/u/4518745?v=3","gravatar_id":"","url":"https://api.github.com/users/dzitkowskik","html_url":"https://github.com/dzitkowskik","followers_url":"https://api.github.com/users/dzitkowskik/followers","following_url":"https://api.github.com/users/dzitkowskik/following{/other_user}","gists_url":"https://api.github.com/users/dzitkowskik/gists{/gist_id}","starred_url":"https://api.github.com/users/dzitkowskik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzitkowskik/subscriptions","organizations_url":"https://api.github.com/users/dzitkowskik/orgs","repos_url":"https://api.github.com/users/dzitkowskik/repos","events_url":"https://api.github.com/users/dzitkowskik/events{/privacy}","received_events_url":"https://api.github.com/users/dzitkowskik/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dzitkowskik/mini-dos/milestones/2","html_url":"https://github.com/dzitkowskik/mini-dos/milestones/Phase%202","labels_url":"https://api.github.com/repos/dzitkowskik/mini-dos/milestones/2/labels","id":1465738,"number":2,"title":"Phase 2","description":"Implementing second half of the project containing replication, updates and deleting, fault tolerance na testing of our application","creator":{"login":"dzitkowskik","id":4518745,"avatar_url":"https://avatars.githubusercontent.com/u/4518745?v=3","gravatar_id":"","url":"https://api.github.com/users/dzitkowskik","html_url":"https://github.com/dzitkowskik","followers_url":"https://api.github.com/users/dzitkowskik/followers","following_url":"https://api.github.com/users/dzitkowskik/following{/other_user}","gists_url":"https://api.github.com/users/dzitkowskik/gists{/gist_id}","starred_url":"https://api.github.com/users/dzitkowskik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzitkowskik/subscriptions","organizations_url":"https://api.github.com/users/dzitkowskik/orgs","repos_url":"https://api.github.com/users/dzitkowskik/repos","events_url":"https://api.github.com/users/dzitkowskik/events{/privacy}","received_events_url":"https://api.github.com/users/dzitkowskik/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":13,"state":"open","created_at":"2015-12-17T20:54:35Z","updated_at":"2016-01-16T13:19:27Z","due_on":"2016-01-11T23:00:00Z","closed_at":null},"comments":1,"created_at":"2015-12-17T21:32:08Z","updated_at":"2016-01-16T13:19:27Z","closed_at":"2016-01-16T13:19:27Z","body":"When new node is registered to the system, it should \"recreate\" all tables and alter statements already in use in a system. So we must add sth like initialization process after registration, and before node can actually be used by a system (so we will have 3 (or more) states for nodes: registered, active, failed), queries are sent to node only if it is in active status. After registering, master asks node to initialize with list of statements (it sends to him list of create table and alter statements [in order master recived them before] to node, and node must successfully execute them in that order.) if everything is fine, master will mark node as active:)"}}