{"action":"created","issue":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4330","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4330/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4330/comments","events_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4330/events","html_url":"https://github.com/rethinkdb/rethinkdb/issues/4330","id":84171396,"number":4330,"title":"Standardize raft-era terminology for primary replicas","user":{"login":"deontologician","id":1366,"avatar_url":"https://avatars.githubusercontent.com/u/1366?v=3","gravatar_id":"","url":"https://api.github.com/users/deontologician","html_url":"https://github.com/deontologician","followers_url":"https://api.github.com/users/deontologician/followers","following_url":"https://api.github.com/users/deontologician/following{/other_user}","gists_url":"https://api.github.com/users/deontologician/gists{/gist_id}","starred_url":"https://api.github.com/users/deontologician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deontologician/subscriptions","organizations_url":"https://api.github.com/users/deontologician/orgs","repos_url":"https://api.github.com/users/deontologician/repos","events_url":"https://api.github.com/users/deontologician/events{/privacy}","received_events_url":"https://api.github.com/users/deontologician/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/95","html_url":"https://github.com/rethinkdb/rethinkdb/milestones/2.1","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/95/labels","id":1006506,"number":95,"title":"2.1","description":"To-do list before shipping auto-failover","creator":{"login":"timmaxw","id":316661,"avatar_url":"https://avatars.githubusercontent.com/u/316661?v=3","gravatar_id":"","url":"https://api.github.com/users/timmaxw","html_url":"https://github.com/timmaxw","followers_url":"https://api.github.com/users/timmaxw/followers","following_url":"https://api.github.com/users/timmaxw/following{/other_user}","gists_url":"https://api.github.com/users/timmaxw/gists{/gist_id}","starred_url":"https://api.github.com/users/timmaxw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmaxw/subscriptions","organizations_url":"https://api.github.com/users/timmaxw/orgs","repos_url":"https://api.github.com/users/timmaxw/repos","events_url":"https://api.github.com/users/timmaxw/events{/privacy}","received_events_url":"https://api.github.com/users/timmaxw/received_events","type":"User","site_admin":false},"open_issues":38,"closed_issues":66,"state":"open","created_at":"2015-03-04T21:09:42Z","updated_at":"2015-06-02T19:31:19Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-06-02T19:31:19Z","updated_at":"2015-06-02T21:23:08Z","closed_at":null,"body":"Specifically, we need to distinguish between primary replicas that were configured by the user (in table_config) and those that were elected by raft (unless they're the same).\r\n\r\nCurrently, I'm using this terminology:\r\n\r\n   | primary in table_config | primary in table_status | what it's called in webui\r\n--- | ----------------------- | ----------------------- | -------------------------\r\n1  | true                    | true                    | Primary replica\r\n2  | true                    | false                   | Configured primary replica\r\n3  | false                   | true                    | Elected primary replica\r\n4  | false                   | false                   | Secondary replica\r\n\r\n@danielmewes has suggested \"Acting primary replica\" for row 3.\r\n@timmaxw suggested \"Future primary replica\" for 2 and \"Temporary primary replica\" for 3 in #engineering \r\n\r\nping @coffeemug @mglukhovsky, but whoever wants to comment feel free. I don't have a strong opinion about it, other than it should be something we're happy with since it'll show up several times in the webui"},"comment":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/comments/108102610","html_url":"https://github.com/rethinkdb/rethinkdb/issues/4330#issuecomment-108102610","issue_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4330","id":108102610,"user":{"login":"coffeemug","id":48436,"avatar_url":"https://avatars.githubusercontent.com/u/48436?v=3","gravatar_id":"","url":"https://api.github.com/users/coffeemug","html_url":"https://github.com/coffeemug","followers_url":"https://api.github.com/users/coffeemug/followers","following_url":"https://api.github.com/users/coffeemug/following{/other_user}","gists_url":"https://api.github.com/users/coffeemug/gists{/gist_id}","starred_url":"https://api.github.com/users/coffeemug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coffeemug/subscriptions","organizations_url":"https://api.github.com/users/coffeemug/orgs","repos_url":"https://api.github.com/users/coffeemug/repos","events_url":"https://api.github.com/users/coffeemug/events{/privacy}","received_events_url":"https://api.github.com/users/coffeemug/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T21:23:08Z","updated_at":"2015-06-02T21:23:08Z","body":"Ah I see, that makes sense. Could we add a column/icon to show if the server is disconnected? That would make it much more clear why a replica might be configured as primary, but isn't one."}}