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

Messages may be lost when schedule them with a short delay

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.4.2
    • 5.5.0
    • None
    • None
    • Patch Available

    Description

      The message scheduler has an optimization, that the schedule time will be aligned to seconds. All messages which included in the same second will be maintained in one store entry with a list of jobs.
      The list will be read from the store during the main loop, the entries will be executed and the list will be deleted from the store. When new messages are added on the same list during the scheduling, these messages could be lost.
      One possible fix could be, that the main loop reads and removes the lists in one atomic step due to a synchronization.

      Attachments

        1. AMQ3141Test.patch
          4 kB
          Swen Fuhrmann
        2. AMQ3141.patch
          9 kB
          Swen Fuhrmann

        Issue Links

          Activity

            People

              tabish Timothy A. Bish
              moczarski Swen Fuhrmann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: