def primary_status
      session.cluster.with_primary do |primary|
        primary.command(:admin, replSetGetStatus: 1)
      end
    rescue => e
      raise ConnectionFailed, e
    end
def primary_status
      session.cluster.with_primary do |primary|
        primary.command(:admin, replSetGetStatus: 1)
      end
    rescue => e
      raise ConnectionFailed, e
    end
Public: The status for the session's mongodb replica set primary

 Returns a hash with the status of the primary