[SERVER-2547] Wrong message when adding arbiter to a shard. Created: 14/Feb/11  Updated: 16/Nov/21  Resolved: 12/Apr/11

Status: Closed
Project: Core Server
Component/s: Replication, Sharding
Affects Version/s: 1.7.5
Fix Version/s: 1.9.0

Type: Bug Priority: Minor - P4
Reporter: Sergei Tulentsev Assignee: Kristina Chodorow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

When trying to add a replica set as a new shard and specifying an arbiter among hosts, it replies with error like "host XXX does not belong to replica set YYY" (when it really does).

During discussion at https://groups.google.com/forum/?hl=en&pli=1#!topic/mongodb-user/raZ8mJteML8 it turned out that currently you can't add arbiter to a shard. And, indeed, if you omit it from the command, everything works.

Also, when you specify non-existent host, the error message is the same!

RESOLUTION: provide two distinctive messages for two cases described above.

  • host XXX is an arbiter. Can't add arbiter to shard.
  • host XXX is unreachable. Check your hostname/port.


 Comments   
Comment by Kristina Chodorow (Inactive) [ 12/Apr/11 ]

You should now be allowed to specify any member of the set.

Comment by auto [ 12/Apr/11 ]

Author:

{u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}

Message: allow arbiters and passives as seeds SERVER-2547
Branch: master
https://github.com/mongodb/mongo/commit/1c9e34bcd8bed3e7c5cb6ea364c0686530061598

Generated at Thu Feb 08 03:00:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.