Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-17104

affinity=primary-owner/ranked-affinity should require routing=infinispan

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 27.0.0.Final
    • 27.0.0.Beta1
    • Clustering
    • None
    • ---
    • ---

    Description

      An infinispan-session-management resource configured with affinity=primary-owner or affinity=ranked requires routing=infinispan. However, if configured with routing=local, a deployment that uses this session-management provider will fail to deploy with missing services. This condition should be detected during server startup via capability constraints, rather than failing in this way (with confusing error messages).

      To resolve this, we will create a new "org.wildfly.clustering.web.infinispan-routing-provider" capability provided only by the routing=infinispan resource, which will be required by the affinity=primary-owner and affinity=ranked resources.

      We can leverage this new capability to more intelligently handle the condition where a distributable web application that uses legacy jboss-web.xml <replication-config/> is deployed to a non-ha profile - which currently only works when the distributable-web subsystem is not present.

      Attachments

        Issue Links

          Activity

            People

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: