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

Alive nodes can't send last will messages to subscribed clients when there is one node killed in the cluster. #1668

Closed
qiujiancn opened this issue Jul 7, 2018 · 2 comments
Assignees
Milestone

Comments

@qiujiancn
Copy link

Environment

  • OS: centos 7
  • Erlang/OTP:
  • EMQ: 2.3.1

I have a EMQTT cluster with 2 machine,nodeA and nodeB.
I have 1 client named device publish last will messages device/will,payload offline text,and it is connected to nodeA。
I have 1 client named receiver subscribe device/will, and it is connected to nodeB.

Then
1、When I killed device,receiver can receive the last will message offline.
2、When I killed nodeA,receiver can't receive the device last will message offline, then it means that the receiver still think the device would be online.
The nodeB should reload the nodeA clients status when nodeA is dead, but it didn't do it. If I must use last will messages, what can I do to resolve this issue?

@turtleDeng turtleDeng added this to the 3.0-beta.1 milestone Jul 7, 2018
@turtleDeng turtleDeng modified the milestones: 3.0-beta.1, 3.0-rc.3 Nov 12, 2018
@turtleDeng turtleDeng removed this from the 3.0-rc.3 milestone Nov 23, 2018
@gilbertwong96 gilbertwong96 added this to the 3.1-beta.1 milestone Feb 11, 2019
@gilbertwong96
Copy link
Contributor

For now, emqx does not support to migrate or replicate sessions between different nodes. We'll support it in the future. Anyway, thanks for your feedback.

@gilbertwong96 gilbertwong96 modified the milestones: 3.1-beta.1, 3.1.0 - Cloud Native Mar 7, 2019
@gilbertwong96 gilbertwong96 modified the milestones: 3.1-rc.1, 3.2 Apr 8, 2019
@turtleDeng turtleDeng modified the milestones: 3.2.0, 4.0.0 Aug 27, 2019
@turtleDeng
Copy link
Member

Thank you for your participation, you can use the enterprise version for persistent operations

https://www.emqx.io/downloads#enterprise

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

No branches or pull requests

4 participants