Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-3365

Paging is Broken for AMQP

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • None
    • AMQ 7.6.0.CR2
    • None
    • +
    • Hide
      By default, when you first get a message after the cache has previously been evicted, the broker reads the entire page back into the cache. This behavior is specified by the `read-whole-page` configuration parameter, which has a default value of `true`. If you set the value of `read-whole-page` to `false`, the broker reads messages back into the page cache on a message-by-message basis instead.

      Previously, reading messages back into the page cache on a message-by-message basis *did not work* if you were using the AMQP protocol. If you were using AMQP, you needed to ensure that the value of `read-whole-page` was set to `true`. This issue is now resolved.
      Show
      By default, when you first get a message after the cache has previously been evicted, the broker reads the entire page back into the cache. This behavior is specified by the `read-whole-page` configuration parameter, which has a default value of `true`. If you set the value of `read-whole-page` to `false`, the broker reads messages back into the page cache on a message-by-message basis instead. Previously, reading messages back into the page cache on a message-by-message basis *did not work* if you were using the AMQP protocol. If you were using AMQP, you needed to ensure that the value of `read-whole-page` was set to `true`. This issue is now resolved.
    • Documented as Resolved Issue
    • Verified in a release

    Description

      set max-size = 100000
      page-size = 10000

      on the cli, run:

      ./artemis producer --protocol amqp --message-count 50000 -txt-size 1000

      and you get an exception on the broker .. you need to restart the broker to clear it.

      Attachments

        Activity

          People

            fnigro Francesco Nigro
            csuconic@redhat.com Clebert Suconic
            Tiago Bueno Tiago Bueno
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: