diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-09-01 12:17:41 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-09-01 12:17:41 -0400 |
commit | 3ee681be363bb9f8b43496c22a947b10e8e18a80 (patch) | |
tree | 2ffaeb238ac99b77abfb6c4fcdd27e4c230669aa /s/request.cpp | |
parent | bcd665877bd0e604241c871640ff3b65f1b328a5 (diff) | |
download | mongo-3ee681be363bb9f8b43496c22a947b10e8e18a80.tar.gz |
more name changes in sharding
Diffstat (limited to 's/request.cpp')
-rw-r--r-- | s/request.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/s/request.cpp b/s/request.cpp index f6d1ff407dd..ade683abb63 100644 --- a/s/request.cpp +++ b/s/request.cpp @@ -41,7 +41,7 @@ namespace mongo { void Request::reset( bool reload ){ _config = grid.getDBConfig( getns() ); - if ( _config->sharded( getns() ) ){ + if ( _config->isSharded( getns() ) ){ _shardInfo = _config->getChunkManager( getns() , reload ); uassert( (string)"no shard info for: " + getns() , _shardInfo ); } @@ -74,7 +74,7 @@ namespace mongo { Strategy * s = SINGLE; _d.markSet(); - if ( getConfig()->isPartitioned() && op == dbQuery ){ + if ( getConfig()->isShardingEnabled() && op == dbQuery ){ // there are a few things we need to check here // 1. db.eval // TODO: right now i'm just going to block all |