Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5196

Last value queue doesn`t work correctly with paging

    XMLWordPrintable

Details

    • Documentation (Ref Guide, User Guide, etc.)
    • Hide

      Issue can be reproduced by automated test

      git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git
      cd eap-tests-hornetq/scripts/
      git checkout master
      groovy -DEAP_VERSION=7.0.1.CP.CR2 -Deap.zip.url=http://download.eng.brq.redhat.com/devel/candidates/JBEAP/JBEAP-7.0.1.CP.CR2/jboss-eap-7.0.1.CP.CR2-full-build.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 install -Deap=7x -Dtest=LastValueQueuesTestCase#lastValueQueueTestWithPaging | tee log.txt
      
      Show
      Issue can be reproduced by automated test git clone git: //git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git cd eap-tests-hornetq/scripts/ git checkout master groovy -DEAP_VERSION=7.0.1.CP.CR2 -Deap.zip.url=http: //download.eng.brq.redhat.com/devel/candidates/JBEAP/JBEAP-7.0.1.CP.CR2/jboss-eap-7.0.1.CP.CR2-full-build.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 install -Deap=7x -Dtest=LastValueQueuesTestCase#lastValueQueueTestWithPaging | tee log.txt

    Description

      Scenario description
      Server is started and queue is deployed. Address setting is configured to recognize queue as a last value queue and thresholds are lowered to start paging soon. Producer sends 300 messages with 300 different _AMQ_LVQ_NAME configured to different values (server is paging). Then producer sends message with _AMQ_LVQ_NAME property which has already been used. Total number of send messages is 301. Receiver receives messages from last value queue

      Expectation
      Consumer should receive only last send message for each _AMQ_LVQ_NAME property, it means 300 messages total, every message should contain different value of _AMQ_LVQ_NAME property and only the most recent message for each _AMQ_LVQ_NAME should be kept.

      Actual results
      Consumer receives 301 messages. All send messages are delivered, including messages with same value of _AMQ_LVQ_NAME property. This happens only when server is paging. It works when server is not paging.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-pfestoso_jira Phil Festoso (Inactive)
              mstyk_jira Martin Styk (Inactive)
              Martin Styk Martin Styk (Inactive)
              Martin Styk Martin Styk (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: