Skip to content

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 requested a review from cmaglie February 16, 2022 17:09
@silvanocerza silvanocerza self-assigned this Feb 16, 2022
@silvanocerza silvanocerza force-pushed the scerza/strenghten-discovery branch from f0cff2c to ec9c277 Compare February 17, 2022 10:03
@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 force-pushed the scerza/strenghten-discovery branch from ec9c277 to 2ee4cef Compare February 17, 2022 10:06
@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 force-pushed the scerza/strenghten-discovery branch from 84c454a to 8064d10 Compare February 17, 2022 15:30
@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