summaryrefslogtreecommitdiff
path: root/s/config.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-11-08 11:41:19 -0500
committerEliot Horowitz <eliot@10gen.com>2009-11-08 11:41:19 -0500
commit6e4f858c43548c43d789b88712374ba28dbe094f (patch)
tree2eea68b70547c3eee0e3fec09897c44571b7b578 /s/config.h
parent91eda56a2a2172ab1a82b0a86de944a2e856faad (diff)
downloadmongo-6e4f858c43548c43d789b88712374ba28dbe094f.tar.gz
use CmdLine::ports for shard and config servers
get rid of --infer some config server refactoring in prep for n phase commit for config server changes
Diffstat (limited to 's/config.h')
-rw-r--r--s/config.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/s/config.h b/s/config.h
index edf813cce64..d71c605b165 100644
--- a/s/config.h
+++ b/s/config.h
@@ -131,8 +131,6 @@ namespace mongo {
class ConfigServer : public DBConfig {
public:
- enum { Port = 27016 }; /* standard port # for a grid db */
-
ConfigServer();
~ConfigServer();
@@ -149,7 +147,7 @@ namespace mongo {
/**
call at startup, this will initiate connection to the grid db
*/
- bool init( vector<string> configHosts , bool infer );
+ bool init( vector<string> configHosts );
int dbConfigVersion();
int dbConfigVersion( DBClientBase& conn );