@staticmethod
def fetch_identifiers(connection_pool, server_to_exclude):
    """ Collects server identifiers
        :param connection_pool: The connection pool to iterate through
        :param server_to_exclude: Server identifier to exclude
        """
    for identifier in connection_pool.get_identifiers():
        server_address = connection_pool.get_connection(identifier)[
            'server_address']
        if server_address != server_to_exclude:
            yield server_address
