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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.11.4, 5.12.3, 5.13.2
    • 5.13.3, 5.14.0
    • KahaDB
    • 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 A. Bish

        Issue Links

          Activity

            People

              tabish Timothy A. Bish
              tabish Timothy A. Bish
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: