Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8244

ejb client-mappings cache is missing entries

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • None
    • None
    • None
    • None

    Description

      In JBoss EAP 7.0 (currently using 7.0.7) the client-mappings is missing some entries which can result in incomplete cluster topologies sent to the client.

      rachmato@redhat.com already analysed (and fixed, at least locally) the problem:

      A little more detail. In the EAP config, there is a cache container called "ejb" and a defaultt cache called "dist" which is used to store SFSB sessions when they are created and make them available across the cluster. This cache has, by default, cache mode DIST. The client-mappings cache, which stores node -> IP:port information for the cluster nodes, is created internally but is based on the configuration of the "ejb"/"dist" cache but is set to cache mode REPL. There seems to be a problem with the configuration of the internally-created client-mappings cache which is causing the problems (in particular, the consistent hash for the Infinispan cache is possibly not being set correctly).

      [...] the CHF setting is the problem. It should be either set to null or ReplicatedConsistentHashFactory. What was happening was that using DefaultConsistentHashFactory (aimed for DIST caches) with a REPL cache only writes entries to numOwners nodes, but the reader thinks that the entries will be available at all nodes, resulting in null values.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jaeichle@redhat.com Janine Eichler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: