Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-1943

hasSpace call looks like it may cause messages to be skipped (AMQ-1080 has not been applied for queues)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.0, 5.2.0
    • Fix Version/s: 5.2.0
    • Component/s: Message Store
    • Labels:
      None

      Description

      SVN revision 560783 modifies only 1 of the 2 DefaultJDBCAdapater.doRecoverNextMessages() methods to break from the loop if the listener.recoverMessage() returns false. The doRecoverNextMessages for queues just logs it at debug level.
      Shouldn't that method break from the loop too? I'm seeing the same problems described in AMQ-1080 with the queues on our test and production servers:
      1) lots of ' Stopped recover next messages' messages and CPU usage going way up
      2) messages being skipped

        Attachments

          Activity

            People

            • Assignee:
              rajdavies Robert Davies
              Reporter:
              bastiaan Bastiaan Bakker
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: