{"action":"created","issue":{"url":"https://api.github.com/repos/wazuh/wazuh/issues/811","repository_url":"https://api.github.com/repos/wazuh/wazuh","labels_url":"https://api.github.com/repos/wazuh/wazuh/issues/811/labels{/name}","comments_url":"https://api.github.com/repos/wazuh/wazuh/issues/811/comments","events_url":"https://api.github.com/repos/wazuh/wazuh/issues/811/events","html_url":"https://github.com/wazuh/wazuh/issues/811","id":333654366,"node_id":"MDU6SXNzdWUzMzM2NTQzNjY=","number":811,"title":"Cluster: Several masters","user":{"login":"jesuslinares","id":1523318,"node_id":"MDQ6VXNlcjE1MjMzMTg=","avatar_url":"https://avatars3.githubusercontent.com/u/1523318?v=4","gravatar_id":"","url":"https://api.github.com/users/jesuslinares","html_url":"https://github.com/jesuslinares","followers_url":"https://api.github.com/users/jesuslinares/followers","following_url":"https://api.github.com/users/jesuslinares/following{/other_user}","gists_url":"https://api.github.com/users/jesuslinares/gists{/gist_id}","starred_url":"https://api.github.com/users/jesuslinares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesuslinares/subscriptions","organizations_url":"https://api.github.com/users/jesuslinares/orgs","repos_url":"https://api.github.com/users/jesuslinares/repos","events_url":"https://api.github.com/users/jesuslinares/events{/privacy}","received_events_url":"https://api.github.com/users/jesuslinares/received_events","type":"User","site_admin":false},"labels":[{"id":974889839,"node_id":"MDU6TGFiZWw5NzQ4ODk4Mzk=","url":"https://api.github.com/repos/wazuh/wazuh/labels/cluster","name":"cluster","color":"9dd5e0","default":false},{"id":246680126,"node_id":"MDU6TGFiZWwyNDY2ODAxMjY=","url":"https://api.github.com/repos/wazuh/wazuh/labels/enhancement","name":"enhancement","color":"0052cc","default":true},{"id":939707423,"node_id":"MDU6TGFiZWw5Mzk3MDc0MjM=","url":"https://api.github.com/repos/wazuh/wazuh/labels/framework","name":"framework","color":"d8f7a3","default":false}],"state":"open","locked":false,"assignee":{"login":"mgmacias95","id":8604906,"node_id":"MDQ6VXNlcjg2MDQ5MDY=","avatar_url":"https://avatars0.githubusercontent.com/u/8604906?v=4","gravatar_id":"","url":"https://api.github.com/users/mgmacias95","html_url":"https://github.com/mgmacias95","followers_url":"https://api.github.com/users/mgmacias95/followers","following_url":"https://api.github.com/users/mgmacias95/following{/other_user}","gists_url":"https://api.github.com/users/mgmacias95/gists{/gist_id}","starred_url":"https://api.github.com/users/mgmacias95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgmacias95/subscriptions","organizations_url":"https://api.github.com/users/mgmacias95/orgs","repos_url":"https://api.github.com/users/mgmacias95/repos","events_url":"https://api.github.com/users/mgmacias95/events{/privacy}","received_events_url":"https://api.github.com/users/mgmacias95/received_events","type":"User","site_admin":false},"assignees":[{"login":"mgmacias95","id":8604906,"node_id":"MDQ6VXNlcjg2MDQ5MDY=","avatar_url":"https://avatars0.githubusercontent.com/u/8604906?v=4","gravatar_id":"","url":"https://api.github.com/users/mgmacias95","html_url":"https://github.com/mgmacias95","followers_url":"https://api.github.com/users/mgmacias95/followers","following_url":"https://api.github.com/users/mgmacias95/following{/other_user}","gists_url":"https://api.github.com/users/mgmacias95/gists{/gist_id}","starred_url":"https://api.github.com/users/mgmacias95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgmacias95/subscriptions","organizations_url":"https://api.github.com/users/mgmacias95/orgs","repos_url":"https://api.github.com/users/mgmacias95/repos","events_url":"https://api.github.com/users/mgmacias95/events{/privacy}","received_events_url":"https://api.github.com/users/mgmacias95/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-06-19T12:43:48Z","updated_at":"2018-10-09T11:56:01Z","closed_at":null,"author_association":"MEMBER","body":"The current cluster only allows one master. We should allow several masters, adding HA for master tasks like registering an agent.\r\n\r\nRequirements:\r\n- A master node is either elected or joined to.\r\n- A node can be master, worker, master+worker.\r\n- A setting must determine how long the node will wait before deciding on starting an election or joining an existing cluster.\r\n- If the master node stops or has errors, the rest of nodes will elect a new master.\r\n- Avoid split brain.\r\n- Master nodes must have the same data.\r\n- Make the corresponding changes to the Distributed API.\r\n"},"comment":{"url":"https://api.github.com/repos/wazuh/wazuh/issues/comments/428163833","html_url":"https://github.com/wazuh/wazuh/issues/811#issuecomment-428163833","issue_url":"https://api.github.com/repos/wazuh/wazuh/issues/811","id":428163833,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODE2MzgzMw==","user":{"login":"YashMangla","id":8745715,"node_id":"MDQ6VXNlcjg3NDU3MTU=","avatar_url":"https://avatars0.githubusercontent.com/u/8745715?v=4","gravatar_id":"","url":"https://api.github.com/users/YashMangla","html_url":"https://github.com/YashMangla","followers_url":"https://api.github.com/users/YashMangla/followers","following_url":"https://api.github.com/users/YashMangla/following{/other_user}","gists_url":"https://api.github.com/users/YashMangla/gists{/gist_id}","starred_url":"https://api.github.com/users/YashMangla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YashMangla/subscriptions","organizations_url":"https://api.github.com/users/YashMangla/orgs","repos_url":"https://api.github.com/users/YashMangla/repos","events_url":"https://api.github.com/users/YashMangla/events{/privacy}","received_events_url":"https://api.github.com/users/YashMangla/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T11:56:01Z","updated_at":"2018-10-09T11:56:01Z","author_association":"NONE","body":"What will be the configuration to assign as an master+ worker. and if master node goes down then how it can be switched to another node as an master automatically ?"}}
{"actor":{"display_login":"YashMangla"}}