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

Discovery process do not continue when Core restarted or aborted #795

Open
3keyroman opened this issue Jul 20, 2024 · 0 comments
Open

Discovery process do not continue when Core restarted or aborted #795

3keyroman opened this issue Jul 20, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@3keyroman
Copy link
Contributor

Running Dicovery process that is interrupted when the Core is restarted, or because of any reason, will remain in In Progress state and will be never finished.

The Discovery should be checking its state and should completed in with the resulting state even when the process was interrupted.

This can be easily reproduced by:

  1. run long Discovery process
  2. restart Core
  3. the Discovery remains in progress and is never updated

This is observed in 2.12.0.

The solution should be to implement service that is checking the state of Discovery after it is executed. Such independent service should ensure that every Discovery will be eventually processed, whether successfully or not.

Also, it would be great to have a configuration setting in the platform, to set the time after which will be the Discovery automatically marked as failed. Currently, this is hardcoded for 6 hours. It should be configurable. The default value will be taken from setting, but user should be able to override this time for every single Discovery.

@3keyroman 3keyroman added the enhancement New feature or request label Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants