Project

General

Profile

Tigase 5.2.1 cluster mode will recieve two same message

Dawn Dou
Added over 4 years ago

Hello, everyone:

We have downloaded the tigase-server-5.2.1-b3461, and set up two nodes cluster. the init.properties like this:

--cluster-mode=true
--sm-plugins =amp,-message,-msgoffline,+roster-presence,-message-all
  • user A login in the node1 and use smack client

  • user B login in the node2 and use smack client

  • user A send one message to user B, user B recieved two same messages.

If user A send the message without from attribute or use PSI client(also without from), use B will recieve one message.

I have searched the whole tigase.org, and find that amp will conflict with message-all, but even i disable the message-all plugin, the result is same.

Is this a bug?


Replies (3)

Added by Wojciech Kapcia TigaseTeam over 4 years ago

Yes, this is a know issue (duplicating messages in cluster environment when such <message/> stanza include from attribute). We are working on creating a proper fix for it.

Added by wenming gao about 4 years ago

I would like to ask this question of repair?

Added by Wojciech Kapcia TigaseTeam about 4 years ago

The issue has been fixed some time ago and nightly builds already contain it - http://build.tigase.org/nightlies/dists/

    (1-3/3)