Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-4789

Page.destroy race with cleanup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.34.0
    • 2.35.0
    • None
    • None

    Description

      There's a rare race between Queue.destroy and cleanup.

      if the cleanup is called while depaging is still happening you might endup with a Critical IO exception as the storage folder is removed.

      This is the reason why testPagingStoreDestroyed(derby) was eventually failing.

      testPagingStoreDestroyed serves as the verification for this issue, as this is intended as the test fix.

      Attachments

        Issue Links

          Activity

            People

              clebertsuconic Clebert Suconic
              clebertsuconic Clebert Suconic
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h