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

dynamically registered services do not update after broker reconnect #262

Closed
fugufish opened this issue May 9, 2018 · 2 comments
Closed

Comments

@fugufish
Copy link
Contributor

fugufish commented May 9, 2018

When a separate broker reconnects, dynamically registered services (any service that calls .createService after moleculer starts) are not updated because the sequence is out of sync.

I traced the issue here:

fbb9910#diff-bb81619136bf2c8b0778ee961b076a8cR184

Basically, the sequence # sent in the payload is less than the sequence # stored in the remote broker, ensuring that newly created services are not added to the registry.

@icebob
Copy link
Member

icebob commented May 10, 2018

Fixed in 080437d

@icebob
Copy link
Member

icebob commented May 10, 2018

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

Successfully merging a pull request may close this issue.

2 participants