Skip to content

Add support for infinite ack timeout #107044

@DaveCTurner

Description

@DaveCTurner

The ?master_node_timeout query param supports -1 to mean1 that the request waits forever without timing out. The ack timeout specified by the ?timeout query param also supports -1, but today this means the same as 0, i.e. that the wait for acks times out immediately. We should align the behaviour of these parameters so that users can specify that they want to wait forever for a cluster state update request to complete by setting them both to -1.

Footnotes

  1. unless there's currently no master, and some other corner cases, see https://github.com/elastic/elasticsearch/pull/107050 for fix

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Distributed Coordination/Cluster CoordinationCluster formation and cluster state publication, including cluster membership and fault detection.>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