I had to replace a mongodb config server in a cluster that contains only 1 shard.
By mistake, I started the new config server without any data and got the following message in the logs:
[CheckConfigServers] ERROR: could not verify that config servers are in sync :: caused by :: config servers configserver1.mydomain.com:27019 and configserver2.mydomain.com:27019 differ
Following the procedure at 'http://docs.mongodb.org/manual/tutorial/replace-config-server/', I tried to stop the balancer from a mongos. But I got an error message. I could only stop the balancer after having restarted the empty configserver.
I copied the dbpath content from configserver2 to configserver1 and everything looks fine.
I'd like to ensure that no data has been misplaced or lost during these operations. With only 1 shard in the cluster, could data be misplaced?
Thanks,
Greg.