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

AckManager "giving up" processing of Acks in warning log level

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.35.0, 2.36.0
    • 2.38.0
    • AMQP, Broker
    • None

    Description

      Within the AMQP AckManager, the following log message, currently at DEBUG level, should be increased to WARN level:

      logger.debug("Retried {} {} times, giving up on the entry now", retry, retry.getPageAttempts());

      Setting this log to WARN level would allow operators to be aware of two things:

      • The AckManager may require configuration tuning of queue/page attempts. This can easily occur with the default configuration when handling large messages.
      • Missed message replication, which is crucial when replication is required, allowing operators to investigate the source of the problem.

      The downside is that this change may trigger a large number of logs when enabled on Artemis nodes containing messages created before the mirroring configuration activation.
      This might not be desirable for everyone, so it could be beneficial to have it enabled as an optional parameter, configurable via a system environment variable, similar to the fine-tuning options available for AckManager.

      Ideally, the log should as well contain the queue name, which would allow to track down the source of messages.

      Attachments

        Issue Links

          Activity

            People

              clebertsuconic Clebert Suconic
              jpbriquet Jean-Pascal Briquet
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 20m
                  20m