[SERVER-7713] WIll mongos work with a replica-set (without sharding)? Created: 19/Nov/12 Updated: 06/Apr/23 Resolved: 19/Nov/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 2.2.1 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Minor - P4 |
| Reporter: | Brian Konash | Assignee: | Scott Hernandez (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
staging |
||
| Participants: |
| Description |
|
re: SERVER-1594 Will mongos work with a replica-set (without sharding)? Env: mongos> use admin ); ], |
| Comments |
| Comment by Brian Konash [ 19/Nov/12 ] |
|
Thanks Scott. Please close. |
| Comment by Scott Hernandez (Inactive) [ 19/Nov/12 ] |
|
Yes, this is a sharded cluster with one shard, and no sharded collections; it is a fine configuration. |
| Comment by Brian Konash [ 19/Nov/12 ] |
|
This is what staging looks like. We just want to use mongo-s as a proxy for now. mongos> use config mongos> use admin ) ], |
| Comment by Brian Konash [ 19/Nov/12 ] |
|
So I can enable sharding on the DB and I can wait on sharding the collections? I realize this is not standard. We're trying to just test the mongo-s part while we get our shard keys decided. |
| Comment by Scott Hernandez (Inactive) [ 19/Nov/12 ] |
|
The sharding part we are talking in the other issue is the config servers and config database. You can use mongos (with config db/servers) and one shard without sharding any collections if that is what you are asking. This seems to be your setup. |