Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-6207

KahaDB: corruption of the index possible on sudden stop of the broker

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.11.4, 5.12.3, 5.13.2
    • Fix Version/s: 5.13.3, 5.14.0
    • Component/s: KahaDB
    • Labels:
      None

      Description

      On a sudden stop of the broker it's possible for the KahaDB index to become corrupt and the broker will refuse to start. The issue is in the PageFile code that is mixing writes to both the recovery file and the index file. The writes need to happen in a deterministic way such that the recovery file isn't missing data that might make it into the the main index file.

        Attachments

        1. kahadb-corruption.tar.bz2
          5 kB
          Timothy Bish

          Issue Links

            Activity

              People

              • Assignee:
                tabish Timothy Bish
                Reporter:
                tabish Timothy Bish
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: