MRG-M 3.0: Queue doesn't always return all empty journal files to the pool

Solution Verified - Updated -

Issue

Removing all durable messages from a durable queue (backed by a linear store) by either way:

  • purging them
  • removing due to time-to-live expired
  • normally consuming them

ends up in a situation, where the journal for the queue has many journal files, despite the queue became empty. All those files except one are supposed to be returned back to Empty File Pool (EFP).

Usually, the "all message removal" action shrinks the number of journal files to one tenth.

Why the journal keeps some files in and does not move them to EFP?

Environment

Red Hat Enterprise MRG Messaging 3

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.