Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-1473

[A-MQ, Kahadb] change default config/behaviour to shutdown broker when "java.io.IOException: No space left on device"

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: JBoss A-MQ 6.3
    • Component/s: None
    • Labels:
      None

      Description

      With current default configuration, the broker will try to stay alive when it "java.io.IOException: No space left on device". When more space becomes available the broker will try to carry on processing messages.However, we have seen a customer case where the index appears to have gotten out of sync with the journal files. I discussed this with Gary Tully and a more robust approach was to allow the broker to exit on the when the "java.io.IOException: No space left on device" and restart manually This allows the broker to recover the indexes and avoids any potential corruptions.This is simple to achieve in configuration (below). I think it would be best to have this as the *default behaviour* in the broker to avoid any potential corruption.| <ioExceptionHandler>||<defaultIOExceptionHandler ignoreNoSpaceErrors="false"/>|

      </ioExceptionHandler>

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                garytully Gary Tully
                Reporter:
                pfox Patrick Fox
                Tester:
                Petra Svobodova
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: