ARTEMIS-4789 Page.destroy race with cleanup

this is fixing PagingTest::testPagingStoreDestroyed(db=derby) (or any other DB).

This could eventually also fail on journal.

The cleanup could act on a destroyed folder, and issue an IOException stopping the server with this race.

You would need the server active cleaning messages while the queue is being removed.
2 files changed
tree: c4327a9e744426ffbbf91c90d432aea04edbc330
  1. .github/
  2. .settings/
  3. artemis-bom/
  4. artemis-boot/
  5. artemis-cdi-client/
  6. artemis-cli/
  7. artemis-commons/
  8. artemis-core-client/
  9. artemis-core-client-all/
  10. artemis-core-client-osgi/
  11. artemis-distribution/
  12. artemis-docker/
  13. artemis-dto/
  14. artemis-features/
  15. artemis-hawtio/
  16. artemis-image/
  17. artemis-jakarta-client/
  18. artemis-jakarta-client-all/
  19. artemis-jakarta-ra/
  20. artemis-jakarta-server/
  21. artemis-jakarta-service-extensions/
  22. artemis-jdbc-store/
  23. artemis-jms-client/
  24. artemis-jms-client-all/
  25. artemis-jms-client-osgi/
  26. artemis-jms-server/
  27. artemis-journal/
  28. artemis-junit/
  29. artemis-lockmanager/
  30. artemis-log-annotation-processor/
  31. artemis-maven-plugin/
  32. artemis-pom/
  33. artemis-protocols/
  34. artemis-ra/
  35. artemis-selector/
  36. artemis-server/
  37. artemis-server-osgi/
  38. artemis-service-extensions/
  39. artemis-unit-test-support/
  40. artemis-web/
  41. artemis-website/
  42. docs/
  43. etc/
  44. scripts/
  45. tests/
  46. .asf.yaml
  47. .gitignore
  48. .project
  49. artemis_doap.rdf
  50. LICENSE
  51. NOTICE
  52. pom.xml
  53. README.md
  54. RELEASING.md
README.md

Welcome to Apache ActiveMQ Artemis

ActiveMQ Artemis is the next generation message broker from Apache ActiveMQ.

Getting Started

See the User Manual for an in-depth explanation of all aspects of broker configuration and behavior.

The ActiveMQ Artemis Examples repository contains over 90 examples demonstrating many of the client and broker features.

How to Build, etc.

See the Hacking Guide for details about modifying the code, building the project, running tests, IDE integration, etc.

Migrate from ActiveMQ Classic

See the Migration Guide for information about the architectural and configuration differences between ActiveMQ Classic and ActiveMQ Artemis.

Report an Issue

See our website for details on how to report an bug, request a feature, etc.