# File lib/moped/read_preference/primary_preferred.rb, line 44
      def with_node(cluster, &block)
        with_retry(cluster) do
          begin
            cluster.with_primary(&block)
          rescue Errors::ConnectionFailure
            cluster.with_secondary(&block)
          end
        end
      end