Skip to content

Introduce RefCountingListener#isFailing#93101

Closed
DaveCTurner wants to merge 1 commit intoelastic:mainfrom
DaveCTurner:2023-01-19-RefCountingListener-isFailing
Closed

Introduce RefCountingListener#isFailing#93101
DaveCTurner wants to merge 1 commit intoelastic:mainfrom
DaveCTurner:2023-01-19-RefCountingListener-isFailing

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

Sometimes it's useful to know whether any of the other acquired listeners have failed. For instance, it may be preferable to avoid doing certain async tasks if we already know that the overall operation will fail due to the failure of an an earlier task. This commit exposes this information on RefCountingListener.

Sometimes it's useful to know whether any of the other acquired
listeners have failed. For instance, it may be preferable to avoid doing
certain async tasks if we already know that the overall operation will
fail due to the failure of an an earlier task. This commit exposes this
information on `RefCountingListener`.
@DaveCTurner DaveCTurner added >non-issue :Distributed/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. v8.7.0 labels Jan 19, 2023
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Meta label for distributed team. label Jan 19, 2023
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

@DaveCTurner
Copy link
Copy Markdown
Member Author

Actually I don't have a use-case for this yet, marking it as WIP for now.

@DaveCTurner DaveCTurner marked this pull request as draft January 19, 2023 19:27
@rjernst rjernst added v8.8.0 and removed v8.7.0 labels Feb 8, 2023
@DaveCTurner
Copy link
Copy Markdown
Member Author

We introduced this in #94507.

@DaveCTurner DaveCTurner deleted the 2023-01-19-RefCountingListener-isFailing branch March 28, 2023 08:30
DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Mar 28, 2023
Added in elastic#94507 but without the comment from elastic#93101, which this commit
fixes.
DaveCTurner added a commit that referenced this pull request Apr 6, 2023
Added in #94507 but without the comment from #93101, which this commit
fixes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

: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. v8.8.0 WIP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants