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.


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 raised.


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

A fix for OF-1868 will be available in Openfire 4.5.0.