Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-4155

Broker will dead lock if sending OpenWire Large Messages With Journal Retention configured.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.29.0
    • None
    • None

    Description

      the LargeServerMessageImpl.asLargeMessage will check if the message is beyond the journal buffer size and convert it to large.

      if retention is used, this operation tries to make a sync operation on the journal which will never complete because is being called within the JournalExecutor itself. It's a server's deadlock on this case (actually technically a starvation, but same results).

      Attachments

        Issue Links

          Activity

            People

              clebertsuconic Clebert Suconic
              clebertsuconic Clebert Suconic
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m