Uploaded image for project: 'Openfire'
  1. Openfire
  2. OF-1868

Session message carbons, requested blocklist not clustered

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.4.1
    • Fix Version/s: 4.5.0
    • Component/s: Clustering
    • Labels:
      None

      Description

      Neither messageCarbonsEnabled nor hasRequestedBlocklist in ClientSession is clustered.

      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 and hasRequestedBlocklist flags for a session.

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

      c) Consider if a better mechanism could/should be used for sharing this information. Suggestion;

      i) The Hazelcast plugin is purely used for transferring data between cluster nodes, via ClusterTasks, Cache's, etc.
      ii) Core Openfire contains the business logic for what needs to be shared and when.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            gdt Greg Thomas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: