summaryrefslogtreecommitdiff
path: root/s/config.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-02-26 09:47:25 -0500
committerEliot Horowitz <eliot@10gen.com>2009-02-26 09:47:25 -0500
commita49b8578874a1269f6f4f0337f5a170977850afa (patch)
tree66373b15a616586041c790369678fa7e71778746 /s/config.h
parentadcf71c3c35315bc8ea38cbcccfa585b0aa16e06 (diff)
downloadmongo-a49b8578874a1269f6f4f0337f5a170977850afa.tar.gz
sharding schema change, put shard key in dbconfig
Diffstat (limited to 's/config.h')
-rw-r--r--s/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/s/config.h b/s/config.h
index 3dcfbe52b93..6a2ea00eac0 100644
--- a/s/config.h
+++ b/s/config.h
@@ -93,7 +93,7 @@ namespace mongo {
string _primary; // e.g. localhost , mongo.foo.com:9999
bool _partitioned;
- set<string> _sharded; // [ "alleyinsider.blog.posts" , ... ] - all ns that are sharded
+ map<string,BSONObj> _sharded; // { "alleyinsider.blog.posts" : { ts : 1 } , ... ] - all ns that are sharded
map<string,ShardInfo*> _shards; // this will only have entries for things that have been looked at
friend class Grid;