Class Mongo::ShardingPoolManager
In: lib/mongo/util/sharding_pool_manager.rb
Parent: PoolManager

Methods

Public Instance methods

"Best" should be the member with the fastest ping time but connect/connect_to_members reinitializes @members

We want to refresh to the member with the fastest ping time but also want to minimize refreshes We‘re healthy if the primary is pingable. If this isn‘t the case, or the members have changed, set @refresh_required to true, and return. The config.mongos find can‘t be part of the connect call chain due to infinite recursion

[Validate]