diff options
Diffstat (limited to 'src/mongo/s/d_migrate.cpp')
-rw-r--r-- | src/mongo/s/d_migrate.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/s/d_migrate.cpp b/src/mongo/s/d_migrate.cpp index 1d8867c311e..c633eceaa36 100644 --- a/src/mongo/s/d_migrate.cpp +++ b/src/mongo/s/d_migrate.cpp @@ -1280,7 +1280,8 @@ namespace mongo { try { scoped_ptr<ScopedDbConnection> conn( ScopedDbConnection::getInternalScopedDbConnection( - shardingState.getConfigServer() ) ); + shardingState.getConfigServer(), + 10.0 ) ); ok = conn->get()->runCommand( "config" , cmd , cmdResult ); conn->done(); } @@ -1307,7 +1308,8 @@ namespace mongo { try { scoped_ptr<ScopedDbConnection> conn( ScopedDbConnection::getInternalScopedDbConnection( - shardingState.getConfigServer() ) ); + shardingState.getConfigServer(), + 10.0 ) ); // look for the chunk in this shard whose version got bumped // we assume that if that mod made it to the config, the applyOps was successful |