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

JCA RA inflow connections are not always well balanced

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 12.0.0.Final, 14.0.0.Final
    • JMS
    • None
    • Hide
      git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git
      cd eap-tests-hornetq/scripts/
      groovy -DEAP_ZIP_URL=https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/early-testing-messaging-prepare/273//artifact/jboss-eap.zip PrepareServers7.groovy
      export WORKSPACE=$PWD
      export JBOSS_HOME_1=$WORKSPACE/server1/jboss-eap
      export JBOSS_HOME_2=$WORKSPACE/server2/jboss-eap
      export JBOSS_HOME_3=$WORKSPACE/server3/jboss-eap
      export JBOSS_HOME_4=$WORKSPACE/server4/jboss-eap
      
      cd ../jboss-hornetq-testsuite/
      
      mvn clean test -Dtest=RemoteJcaTestCase#testLoadBalancingOfInboundConnectionsToClusterOneServerRestart -Deap7.org.jboss.qa.hornetq.apps.clients.version=7.1521816809-SNAPSHOT -DfailIfNoTests=false -Deap=7x | tee log
      
      Show
      git clone git: //git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git cd eap-tests-hornetq/scripts/ groovy -DEAP_ZIP_URL=https: //eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/early-testing-messaging-prepare/273//artifact/jboss-eap.zip PrepareServers7.groovy export WORKSPACE=$PWD export JBOSS_HOME_1=$WORKSPACE/server1/jboss-eap export JBOSS_HOME_2=$WORKSPACE/server2/jboss-eap export JBOSS_HOME_3=$WORKSPACE/server3/jboss-eap export JBOSS_HOME_4=$WORKSPACE/server4/jboss-eap cd ../jboss-hornetq-testsuite/ mvn clean test -Dtest=RemoteJcaTestCase#testLoadBalancingOfInboundConnectionsToClusterOneServerRestart -Deap7.org.jboss.qa.hornetq.apps.clients.version=7.1521816809-SNAPSHOT -DfailIfNoTests= false -Deap=7x | tee log

      Scenario

      • There are 4 Wildfly servers. Severs 1, 3 are in cluster.
      • Queue InQueue is deployed to servers 1,3.
      • Servers 2 and 4 have RA configured to connect to servers 1 and 3 server.
      • Start servers 1,3 and send 10000 (~1Kb) messages to InQueue
      • Start servers 2,4 with MDB consuming messages from InQueue and sending to OutQueue.
      • When MDBs are processing messages, restart (clean shutdown and start) servers in this order: 1,2,4,3
      • Wait until all messages are processed.
      • Measure number of consumers on InQueue on servers 1 and 3.
      • Difference between number of consumers must be <= 2.

      Expectation: Number of consumers on servers 1 and 3 are almost equal.
      Reality: Number of consumers on servers 1 and 3 are sometimes different. E.g. server 1 has 19 consumers and server 3 has 11 consumers.

      Note: this is not regression. I can see this issue also with Artemis 1.5.x.

        1. server1.zip
          15 kB
        2. server1-trace.zip
          2.11 MB
        3. server1-trace.2.zip
          16.86 MB
        4. test.log.zip
          224 kB
        5. server1-trace.1.zip
          16.79 MB
        6. server1-trace.3.zip
          19.73 MB
        7. server3-logs.zip
          8.50 MB
        8. server4-logs.zip
          9.62 MB
        9. server2-logs.zip
          17.00 MB

              ehugonne1@redhat.com Emmanuel Hugonnet
              eduda_jira Erich Duda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: