Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Prevent pipeline instances from resetting #58

Closed
amajai opened this issue Feb 15, 2021 · 4 comments
Closed

Prevent pipeline instances from resetting #58

amajai opened this issue Feb 15, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@amajai
Copy link

amajai commented Feb 15, 2021

I noticed that every time you restart the api server, the pipeline instances from the last session will all be lost and get reset to zero. Is there a way to create some sort of a storage for saving pipeline instances so you can have access to it anytime without having to lose them every time you restart the server?

@whbruce whbruce added the enhancement New feature or request label Mar 4, 2021
@whbruce
Copy link

whbruce commented Mar 4, 2021

This is expected behavior as pipelines will be stopped with service and will not retain state across re-start. Although pipeline instances are currently incrementing values, clients should not make this assumption as behavior may change in future versions of the service.

If a client loses connection with service, there is no easy way to reconnect and get running pipeline instances. This feature will be added in a future release. In the meantime you could write code to speculatively query for pipeline instances to simulate an enumeration call, but it may need some knowledge of the pattern used to start the instances.

@amajai
Copy link
Author

amajai commented Mar 5, 2021

@whbruce Thanks for the response. I will try to code the feature to keep count of the instances. I look forward to the future release.

@whbruce
Copy link

whbruce commented Nov 11, 2021

Issue #92 prevents you from speculatively querying for pipeline instances.

@whbruce
Copy link

whbruce commented Feb 23, 2022

Fixed in v0.7.1

@whbruce whbruce closed this as completed Feb 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants