[SERVER-2029] on addShard, add default port to config if not there Created: 29/Oct/10  Updated: 12/Jul/16  Resolved: 14/Jan/11

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 1.7.5

Type: Improvement Priority: Major - P3
Reporter: Eliot Horowitz (Inactive) Assignee: Kristina Chodorow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-4069 on addShard, don't error if replica s... Closed
Participants:

 Comments   
Comment by Kristina Chodorow (Inactive) [ 14/Jan/11 ]

I think we should stop encouraging people to use --shardsvr. It just confuses them.

Comment by Eliot Horowitz (Inactive) [ 14/Jan/11 ]

Another potential odditiy is that --shardsvr means you start on 27018
But I think if you add shard with no port it goes to 27017
Is that correct?
Is that a problem we should change?

Comment by auto [ 14/Jan/11 ]

Author:

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

Message: add port to non-ported servernames SERVER-2029
https://github.com/mongodb/mongo/commit/526387a2df7582d880256185fe9257c846dd6f11

Comment by auto [ 14/Jan/11 ]

Author:

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

Message: Revert "use default port when none is given SERVER-2029"

This reverts commit bec19b9fb98ac84c04cf3975e4bf53c9b35dcf64.
https://github.com/mongodb/mongo/commit/c07f1d537958881548aec0a3db7e83d505354b0a

Comment by auto [ 13/Jan/11 ]

Author:

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

Message: use default port when none is given SERVER-2029
https://github.com/mongodb/mongo/commit/bec19b9fb98ac84c04cf3975e4bf53c9b35dcf64

Comment by Eliot Horowitz (Inactive) [ 13/Jan/11 ]

this is so its very clear once you add a shard what port it should be on

Generated at Thu Feb 08 02:58:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.