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

          Gary Tully created issue -
          Show
          Gary Tully added a comment - fix in http://svn.apache.org/viewvc?rev=1131010&view=rev
          Gary Tully made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          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?
          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/
          Gary Tully made changes -
          Fix Version/s 5.6.0 [ 12317974 ]
          Fix Version/s 5.x [ 12316331 ]
          Gary Tully made changes -
          Link This issue blocks AMQ-3293 [ AMQ-3293 ]
          Gavin made changes -
          Link This issue blocks AMQ-3293 [ AMQ-3293 ]
          Gavin made changes -
          Link This issue is depended upon by AMQ-3293 [ AMQ-3293 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development