Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-604

JDBC persistence-store does not persist data after commit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • None
    • A-MQ 7.0.0.ER16
    • None
    • None
    • Hide
      git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git
      cd eap-tests-hornetq/scripts/
      git checkout 7c5ca9a9f803db326718d9df57c7929c03846778
      groovy -DEAP_VERSION=7.1.0.DR14 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=FaultInjectionTestCase#commitAtSendingAfterWriteCommitTest -DfailIfNoTests=false -Deap=7x -Dprepare.param.DATABASE=oracle12c -Dprepare.param.JDBC_STORE=true | tee log
      
      Show
      git clone git: //git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git cd eap-tests-hornetq/scripts/ git checkout 7c5ca9a9f803db326718d9df57c7929c03846778 groovy -DEAP_VERSION=7.1.0.DR14 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=FaultInjectionTestCase#commitAtSendingAfterWriteCommitTest -DfailIfNoTests= false -Deap=7x -Dprepare.param.DATABASE=oracle12c -Dprepare.param.JDBC_STORE= true | tee log

      The JDBC persistence-store persists journal records only periodically but it doesn't persist them after the commit. This creates a window in which client is informed that transaction is completed but data are not stored in persistent storage. If EAP is killed at this moment, messages are lost.

      Customer impact: If EAP crashes and is not properly shutdown, messages can be lost.

              fnigro Francesco Nigro
              mtaylor1@redhat.com Martyn Taylor (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: