ActiveMQ
  1. ActiveMQ
  2. AMQ-3357

vmQueueCursor or fileQueueCursor with expired messages in the store can lead to startup hang with kahaDB

    Details

      Description

      expiry during recovery, which is a read operation, can lead to the need to modify the store. The recovery processing should take out a readwrite lock on the store.

      Issue arises for vm or file cursors as they replay messages from the store on restart to fill their caches.
      This issue can be avoided by using the default Store cursor, so the workaround is to configure the store cursor, restart, and revert back to the chosen cursor.

        Issue Links

          Activity

          Hide
          Gary Tully added a comment -

          you can use the latest 5.6-SNAPSHOT[1] or apply the fix from http://svn.apache.org/viewvc?rev=1131010&view=rev

          [1]https://repository.apache.org/content/repositories/snapshots/org/apache/activemq/apache-activemq/5.6-SNAPSHOT/

          Show
          Gary Tully added a comment - you can use the latest 5.6-SNAPSHOT [1] or apply the fix from http://svn.apache.org/viewvc?rev=1131010&view=rev [1] https://repository.apache.org/content/repositories/snapshots/org/apache/activemq/apache-activemq/5.6-SNAPSHOT/
          Hide
          mayank tripathi added a comment -

          Hi Garry....
          Is there a revision available for this defect on 5.5.0. As this defect is reproducible in our production and has major impact on us...Will it be possible to avail a patch so that we can apply and move on with this?

          Show
          mayank tripathi added a comment - Hi Garry.... Is there a revision available for this defect on 5.5.0. As this defect is reproducible in our production and has major impact on us...Will it be possible to avail a patch so that we can apply and move on with this?
          Show
          Gary Tully added a comment - fix in http://svn.apache.org/viewvc?rev=1131010&view=rev

            People

            • Assignee:
              Gary Tully
              Reporter:
              Gary Tully
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development