Skip to content

Discovery GCE Pagination Lack #83783

@cdmbr

Description

@cdmbr

Elasticsearch Version

All

Installed Plugins

discovery-gce

Java Version

bundled

OS Version

any

Problem Description

Currently, discovery-gce plugin tries to obtain all instances for a given project/zone in one shot.
Recently I've faced in my company (that had ~ 700 instances running at the time) a weird behavior of this plugin. The google api that this plugin uses paginates results in chunks of 500 items. The current implementation is ignoring if there's a next page available.

Steps to Reproduce

  • run the node discovery process in zones that have more than 500 instances

Logs (if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Distributed Coordination/Discovery-PluginsAnything related to our integration plugins with EC2, GCP and Azure>bugTeam:Distributed (Obsolete)Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions