Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-5963 Improve disk based limit configuration
  3. AMQ-6084

Have an option to error out if a limit is exceeded

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.13.0
    • 5.13.1, 5.14.0
    • Broker
    • None

    Description

      If a broker exits due to no space

         <ioExceptionHandler>
      	      <defaultIOExceptionHandler ignoreNoSpaceErrors="false"/>
      	  </ioExceptionHandler>

      i.e: some other process uses disk space. On a restart it will reset the limits and block pending space. Flow control will kick in. It may not be possible to consume messages in this stage.
      However it will not allow clients to failover to another broker.
      I think we should have an option to force the broker to error out, or fail to start if limits are set and they cannot be satisfied.
      This will ensure that the broker will not accept connections in that state.

      it could be

      <broker adjustUsageLimits="false" ..>

      When false, if the limits are exceeded, store usage or memory usage - the broker fails to start. When true, it adjusts them (like today) to what is available.

      As ever, naming things is hard. Any better name?

      Attachments

        Issue Links

          Activity

            People

              gtully Gary Tully
              gtully Gary Tully
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: