lib/mongo/mongo_sharded_client.rb in mongo-1.9.2 vs lib/mongo/mongo_sharded_client.rb in mongo-1.10.0.rc0

- old
+ new

@@ -1,6 +1,6 @@ -# Copyright (C) 2013 10gen Inc. +# Copyright (C) 2009-2013 MongoDB, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # @@ -92,9 +92,10 @@ @manager.refresh! @seeds else @manager = ShardingPoolManager.new(self, @seeds) ensure_manager @manager.connect + check_wire_version_in_range end ensure thread_local[:locks][:connecting] = false end