KahaDB journal files are sometimes not removed when enableAckCompaction=true.

Solution Verified - Updated -

Issue

We are running JBoss A-MQ 6.3 with KahaDB and enableAckCompaction=true.
From time to time we notice that although the broker has no unconsumed messages a smaller number of journal files do not get deleted. These journal files seem to have been written during ack compaction cycles as their file size is much smaller than the size of the other journal files.
When we enable verbose logging for the clean-up in KahaDB, it does log that it will delete these journals but they remain present on disk.
What is causing this behaviour?

Environment

  • JBoss A-MQ 6.3
  • KahaDB with enableAckCompation=true

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In