Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discoveries are now closed and unregistered after failure #1667

Merged
merged 2 commits into from
Feb 18, 2022

Conversation

silvanocerza
Copy link
Contributor

@silvanocerza silvanocerza commented Feb 16, 2022

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • What kind of change does this PR introduce?

Enhances internal handling of pluggable discoveries.

  • What is the current behavior?

If sending a command to a discovery returns an error its process is left running, this often causes subsequent commands to fail.

  • What is the new behavior?

If sending a command to a discovery returns an error now its process is killed and the discovery removed from the list of running discoveries.

Nope.

  • Other information:

None.


See how to contribute

@silvanocerza silvanocerza added type: enhancement Proposed improvement topic: CLI Related to the command line interface labels Feb 16, 2022
@silvanocerza silvanocerza self-assigned this Feb 16, 2022
@silvanocerza silvanocerza changed the title board list now returns partial results in case of errors Discoveries are now closed and unregistered after failure Feb 17, 2022
@silvanocerza silvanocerza added topic: code Related to content of the project itself and removed topic: CLI Related to the command line interface labels Feb 17, 2022
@silvanocerza silvanocerza force-pushed the scerza/strenghten-discovery branch 3 times, most recently from babb858 to 84c454a Compare February 17, 2022 15:23
@silvanocerza silvanocerza merged commit 26e1dc2 into master Feb 18, 2022
@silvanocerza silvanocerza deleted the scerza/strenghten-discovery branch February 18, 2022 09:24
silvanocerza added a commit that referenced this pull request Feb 23, 2022
* Discoveries are now closed and unregistered after failure

* Add mutex to guard discoveries in DiscoveryManager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants