You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2016/10/25 16:31:59 UTC

[jira] [Created] (QPID-7472) [Java Broker, BDBStore] Removal of large number of messages on broker startup does not free the disk space occupied by empty BDB log files left after message removal when overfull/undefull threasholds are not set

Alex Rudyy created QPID-7472:
--------------------------------

             Summary: [Java Broker, BDBStore] Removal of large number of messages on broker startup does not free the disk space occupied by empty BDB log files left after message removal when overfull/undefull threasholds are not set
                 Key: QPID-7472
                 URL: https://issues.apache.org/jira/browse/QPID-7472
             Project: Qpid
          Issue Type: Bug
            Reporter: Alex Rudyy


BDB Message store needs a mechanism to force cleanup of empty log files after removal of large number of messages. When flow is blocked due to exceeding of disk space utilization(by default 90%), the message removal might not help to free the disk space when underfull size and store overfull size are not set.

In my test scenario I published transient messages which were flown to disk until disk space was consumed and flow got blocked. Then, I restarted the Broker. Flown to disk transient messages were deleted on Broker restart, but store did not shrink in size as no bdb log file was deleted. I could not publish any new message as producer flow was blocked. There was nothing to consume either as there was no persistent messages published before. As result, broker ended-up in unusable state. The following broker shutdown  cleaned the disk space due to store cleanup being forced on message store close.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org