powered by Jive Software

New Infos comming with OF-1832 are not clustered

OF 4.5 (master):
I have compared the session details between the cluster members and and got differences between the local and remote node.
LOCAL:


REMOTE:

Is it just an indication error or is for example the message carbon value not clusterd?

this would indeed explain this error: Message Carbon in Cluster - Issue

bump up…
anybody can confirm this or has a solution?

Good catch.

a) org.jivesoftware.openfire.session.ClientSessionInfo is how the clusted nodes share info about remote sessions. That needs to be extended to include the messageCarbonsEnabled flag for a session

b) org.jivesoftware.openfire.plugin.session.RemoteClientSession in the hazelcast plugin needs to be updated so that it returns the new flag in ClientSessionInfo, instead of a local variable that is never set

c) I also note that the same issue probably exists with hasRequestedBlocklist

https://issues.igniterealtime.org/browse/OF-1868 raised.

Greg

I’ve send some Pullrequests for this. Maybe someone could review my changes to
a) org.jivesoftware.openfire.session.ClientSessionInfo
and
b) org.jivesoftware.openfire.plugin.session.RemoteClientSession