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

Support only list the changed resources by maestro list API #105

Open
skeeey opened this issue May 30, 2024 · 4 comments
Open

Support only list the changed resources by maestro list API #105

skeeey opened this issue May 30, 2024 · 4 comments

Comments

@skeeey
Copy link
Contributor

skeeey commented May 30, 2024

We may need a mechanism (e.g. a sequence ID for resources) to support only list the changed resources, by this way, the list API only returns the resources that have changed since the last synchronization.

e.g. there is a running source client, it has a resources list (r1, r2 and r3) with a sequence ID, the source client restart, during this time, the r2 is changed, after source client is started, the client sends a resync request with its resources sequence ID, the maestro server returns a list that only contains the r2

refer to open-cluster-management-io/ocm#483

@skeeey
Copy link
Contributor Author

skeeey commented May 30, 2024

@qiujian16
Copy link
Contributor

how do you define latest changed?

@skeeey skeeey changed the title Support only list the latest changed resources Support only list the changed resources May 30, 2024
@skeeey
Copy link
Contributor Author

skeeey commented May 30, 2024

remove latest to eliminate the confusion and add some descriptions

@skeeey skeeey changed the title Support only list the changed resources Support only list the changed resources by maestro list API May 30, 2024
@clyang82
Copy link
Contributor

Currently, source client will get a full list by calling restful API when the source client is reconnecting

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

3 participants