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

Add an API call to regenerate all generated streams #15

Open
mitar opened this issue Oct 25, 2013 · 1 comment
Open

Add an API call to regenerate all generated streams #15

mitar opened this issue Oct 25, 2013 · 1 comment

Comments

@mitar
Copy link
Member

mitar commented Oct 25, 2013

Add an API call to regenerate all generated streams. This will be useful if we will improve implementation of operators (for example, add overflow parameters) and we want to recompute things.

It could be easily implemented: we just delete all derived stream datapoints, mark it as pending, and then call backprocess.

It is true though that this means datapoint values for existing stream will be changed. This is destroying the API contract we have (that datapoints can only be appended). Maybe it is better to not support that and simply require user to delete derived stream and add new one, with same parameters. Stream's ID will change so it will be clear that it is another stream with another datapoints. And for end-user things will work the same because end-user will query streams by query tags.

@mitar
Copy link
Member Author

mitar commented Oct 29, 2013

I think we should not support this but available easy cloning of streams (maybe just as a high-level API through Django manage command or something).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant