{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6113","repository_url":"https://api.github.com/repos/orientechnologies/orientdb","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6113/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6113/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6113/events","html_url":"https://github.com/orientechnologies/orientdb/issues/6113","id":154035943,"number":6113,"title":"How to change distributed node roles online","user":{"login":"mamoit","id":4675358,"avatar_url":"https://avatars.githubusercontent.com/u/4675358?v=3","gravatar_id":"","url":"https://api.github.com/users/mamoit","html_url":"https://github.com/mamoit","followers_url":"https://api.github.com/users/mamoit/followers","following_url":"https://api.github.com/users/mamoit/following{/other_user}","gists_url":"https://api.github.com/users/mamoit/gists{/gist_id}","starred_url":"https://api.github.com/users/mamoit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mamoit/subscriptions","organizations_url":"https://api.github.com/users/mamoit/orgs","repos_url":"https://api.github.com/users/mamoit/repos","events_url":"https://api.github.com/users/mamoit/events{/privacy}","received_events_url":"https://api.github.com/users/mamoit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-10T15:28:01Z","updated_at":"2016-05-10T22:06:24Z","closed_at":"2016-05-10T22:06:23Z","body":"Running version `2.2.0-rc1`.\r\nHow can I change a node's role online? i.e. from master to replica.\r\nI can change the distributed-config.json in one node but it does not replicate to the others.\r\nIdeally I would like to have something like:\r\n```json\r\n(...)\r\nservers\": {\r\n    \"master-*\": \"master\"\r\n    \"replica-*\": \"replica\"\r\n}\r\n(...)\r\n```\r\nbut the servers entry does not accept regexes."},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/218306268","html_url":"https://github.com/orientechnologies/orientdb/issues/6113#issuecomment-218306268","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6113","id":218306268,"user":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T22:06:24Z","updated_at":"2016-05-10T22:06:24Z","body":"This is supported in Enterprise Edition that will be out for 2.2.0 GA. In Community Edition you cannot change the role at runtime, but you have to restart the entire cluster."}}