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

kahadb free page recovery on unclean restart leads to long delays

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: JBoss A-MQ 6.3
    • Fix Version/s: JBoss A-MQ 6.3.x
    • Component/s: kahadb
    • Labels:
      None
    • Release Notes Text:
      Hide
      Shutdown after an unclean restart may pause while recovering the index page file free list.
      It may be necessary to increase the 30s delay in the shutdown script via the environment variable:
      ACTIVEMQ_KILL_MAXSECONDS=300
      Show
      Shutdown after an unclean restart may pause while recovering the index page file free list. It may be necessary to increase the 30s delay in the shutdown script via the environment variable: ACTIVEMQ_KILL_MAXSECONDS=300
    • QE Test Coverage:
      +

      Description

      Unclean shutdown forces the free pages in the index to be recovered. This can take many minutes on large stores. The change in behaviour follows from the fixes for: ENTMQ-2114

      A rework fo the fix, to do the recovery work on the next clean shutdown is a better approach, trading availability against some temporary disk usage.

      Note the rework of: https://issues.apache.org/jira/browse/AMQ-6590

      A further improvement does free page recovery async at start such that clean shutdown is no longer impacted.
      https://issues.apache.org/jira/browse/AMQ-7082

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  garytully Gary Tully
                  Reporter:
                  garytully Gary Tully
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: