Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5720

HA exception raised by the store for durable transactions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.29
    • C++ Clustering
    • None

    Description

      Description of problem:
      While playing with the new cluster implementation, I came across the following problem. When the qpid-txtest tool is executed with "--durable yes --transfer yes" options (that is, the journal is used on the brokers and messages are transferred from one queue to another), the journal on the broker raises an exception:

      [root@mrg-qe-11 ~]# /usr/libexec/qpid/tests/qpid-txtest --init yes --transfer yes --check yes --durable yes --broker 192.168.101.251
      Transfering from tx-test-1 to tx-test-2
      Transfering from tx-test-2 to tx-test-1
      Drained 9 messages from tx-test-1
      2014-04-15 07:53:16 [Client] warning Broker closed connection: 320, Queue tx-test-2: async_dequeue() failed: jexception 0x0b02 wmgr::dequeue_check() threw JERR_MAP_LOCKED: Record ID locked by a pending transaction. (drid=0xb) (/builddir/build/BUILD/qpid-0.22/cpp/src/qpid/linearstore/MessageStoreImpl.cpp:1268)
      Queue tx-test-2: async_dequeue() failed: jexception 0x0b02 wmgr::dequeue_check() threw JERR_MAP_LOCKED: Record ID locked by a pending transaction. (drid=0xb) (/builddir/build/BUILD/qpid-0.22/cpp/src/qpid/linearstore/MessageStoreImpl.cpp:1268)

      Version-Release number of selected component (if applicable):
      qpid-cpp-0.22-37.el6.x86_64

      How reproducible:
      100%

      Steps to Reproduce:
      1. Configure and start HA cluster.
      2. Execute qpid-txtest tool with "--durable yes --transfer yes" options.
      3.

      Actual results:
      journal exception is raised.

      Expected results:
      No exception.

      Attachments

        Activity

          People

            aconway Alan Conway
            aconway Alan Conway
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: