{"action":"created","issue":{"url":"https://api.github.com/repos/influxdb/influxdb/issues/4649","labels_url":"https://api.github.com/repos/influxdb/influxdb/issues/4649/labels{/name}","comments_url":"https://api.github.com/repos/influxdb/influxdb/issues/4649/comments","events_url":"https://api.github.com/repos/influxdb/influxdb/issues/4649/events","html_url":"https://github.com/influxdb/influxdb/issues/4649","id":114908291,"number":4649,"title":"[0.9.5-nightly] Drop server doesn't succeed","user":{"login":"panda87","id":3185476,"avatar_url":"https://avatars.githubusercontent.com/u/3185476?v=3","gravatar_id":"","url":"https://api.github.com/users/panda87","html_url":"https://github.com/panda87","followers_url":"https://api.github.com/users/panda87/followers","following_url":"https://api.github.com/users/panda87/following{/other_user}","gists_url":"https://api.github.com/users/panda87/gists{/gist_id}","starred_url":"https://api.github.com/users/panda87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panda87/subscriptions","organizations_url":"https://api.github.com/users/panda87/orgs","repos_url":"https://api.github.com/users/panda87/repos","events_url":"https://api.github.com/users/panda87/events{/privacy}","received_events_url":"https://api.github.com/users/panda87/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/influxdb/influxdb/labels/category/clustering","name":"category/clustering","color":"d111e2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-03T20:58:10Z","updated_at":"2015-11-04T16:12:10Z","closed_at":null,"body":"Im using the latest nightly build of ver 0.9.5 after upgraded from 0.9.4.2.\r\nThe main reason I decided to use this version is because of the ability to drop servers (raft and non raft).\r\nI want to upgrade the machines without losing data.\r\n\r\nSo first I added the 4th server (non raft) to the cluster, and I altered the RETENTION POLICY to REPLICATION 4, this doesn't help ( the new node didn't receive replication data) so i created new RETENTION POLICY with REPLICATION 4 (DEFAULT), this created new shard file (4 replicates) but since it started from the new shard, I couldn't see the old data (unless i'll change back to the old retention).\r\nI also tried to alter the replication factor from 4 to 2 but all the cluster (4 nodes) still got the replicated data.\r\n\r\nThen I tried to DROP the new server but got this error `Server returned error: shard not replicated`.\r\n\r\nWhat should I need to do in order to drop one server and add another one instead without losing data?\r\n\r\nPS - After create the new retention policy, when I run `SHOW SHARDS` I get `Query returned no results!` - so I even don't know the replication status.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/influxdb/influxdb/issues/comments/153777586","html_url":"https://github.com/influxdb/influxdb/issues/4649#issuecomment-153777586","issue_url":"https://api.github.com/repos/influxdb/influxdb/issues/4649","id":153777586,"user":{"login":"otoolep","id":536312,"avatar_url":"https://avatars.githubusercontent.com/u/536312?v=3","gravatar_id":"","url":"https://api.github.com/users/otoolep","html_url":"https://github.com/otoolep","followers_url":"https://api.github.com/users/otoolep/followers","following_url":"https://api.github.com/users/otoolep/following{/other_user}","gists_url":"https://api.github.com/users/otoolep/gists{/gist_id}","starred_url":"https://api.github.com/users/otoolep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otoolep/subscriptions","organizations_url":"https://api.github.com/users/otoolep/orgs","repos_url":"https://api.github.com/users/otoolep/repos","events_url":"https://api.github.com/users/otoolep/events{/privacy}","received_events_url":"https://api.github.com/users/otoolep/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T16:12:10Z","updated_at":"2015-11-04T16:12:10Z","body":"Can you please show us the output of `SHOW SHARDS` as executed at the CLI? You are using the admin tool, which can hide details.\r\n\r\n```\r\n$ ./influx \r\nVisit https://enterprise.influxdata.com to register for updates, InfluxDB server management, and monitoring.\r\nConnected to http://localhost:8086 version 0.9\r\nInfluxDB shell 0.9\r\n> show shards\r\n> \r\n```\r\n\r\n\r\n\r\n"}}