summaryrefslogtreecommitdiff
path: root/s/config.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-02-26 10:14:50 -0500
committerEliot Horowitz <eliot@10gen.com>2009-02-26 10:14:50 -0500
commit2212fb89743f0294a6704ae68220164352971771 (patch)
tree79aa651cb74a9f222b06cd532b6b61e40ca0c4ef /s/config.h
parenta49b8578874a1269f6f4f0337f5a170977850afa (diff)
downloadmongo-2212fb89743f0294a6704ae68220164352971771.tar.gz
use ShardKeyPattern
Diffstat (limited to 's/config.h')
-rw-r--r--s/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/s/config.h b/s/config.h
index 6a2ea00eac0..9dc4810932b 100644
--- a/s/config.h
+++ b/s/config.h
@@ -26,6 +26,7 @@
#include "../db/namespace.h"
#include "../client/dbclient.h"
#include "../client/model.h"
+#include "shardkey.h"
namespace mongo {
@@ -93,7 +94,7 @@ namespace mongo {
string _primary; // e.g. localhost , mongo.foo.com:9999
bool _partitioned;
- map<string,BSONObj> _sharded; // { "alleyinsider.blog.posts" : { ts : 1 } , ... ] - all ns that are sharded
+ map<string,ShardKeyPattern> _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;