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

Updating subscription should use node version #734

Closed
chemicL opened this issue Feb 28, 2017 · 0 comments
Closed

Updating subscription should use node version #734

chemicL opened this issue Feb 28, 2017 · 0 comments
Milestone

Comments

@chemicL
Copy link
Contributor

chemicL commented Feb 28, 2017

When a user updates a newly created subscription, the state update might be lost due to overwriting behaviour in ZookeeperBasedRepository.

The overwrite operation users should include a call to get the version of the data and repeat in a CAS like manner.

In the case I observed a consumer was just created for the subscription and the ACTIVE state got set, but in the meantime a subscription update event has happened and lost that state transition.

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

2 participants