Skip to content

Clean up timeouts in reserved cluster state handlers#112820

Merged
elasticsearchmachine merged 2 commits intoelastic:mainfrom
DaveCTurner:2024/09/12/RESERVED_CLUSTER_STATE_HANDLER_IGNORED_TIMEOUT
Sep 12, 2024
Merged

Clean up timeouts in reserved cluster state handlers#112820
elasticsearchmachine merged 2 commits intoelastic:mainfrom
DaveCTurner:2024/09/12/RESERVED_CLUSTER_STATE_HANDLER_IGNORED_TIMEOUT

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

In #109828 we introduced a DUMMY_TIMEOUT constant for these handlers
in which timeouts are ignored, but we have not been very consistent with
its usage and it has an overly-generic name making it harder for readers
to understand its meaning.

This commit renames the constant to clarify why it's being used, and
fixes up several spots where we should have been using it already.

In elastic#109828 we introduced a `DUMMY_TIMEOUT` constant for these handlers
in which timeouts are ignored, but we have not been very consistent with
its usage and it has an overly-generic name making it harder for readers
to understand its meaning.

This commit renames the constant to clarify why it's being used, and
fixes up several spots where we should have been using it already.
@DaveCTurner DaveCTurner added >non-issue :Distributed/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. v9.0.0 labels Sep 12, 2024
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Meta label for distributed team. label Sep 12, 2024
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@DaveCTurner DaveCTurner added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Sep 12, 2024
@elasticsearchmachine elasticsearchmachine merged commit 46dd1a5 into elastic:main Sep 12, 2024
@DaveCTurner DaveCTurner deleted the 2024/09/12/RESERVED_CLUSTER_STATE_HANDLER_IGNORED_TIMEOUT branch September 12, 2024 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Distributed/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. >non-issue Team:Distributed Meta label for distributed team. v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants