Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 13442DA9F for ; Tue, 2 Oct 2012 10:09:09 +0000 (UTC) Received: (qmail 50466 invoked by uid 500); 2 Oct 2012 10:09:08 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 50341 invoked by uid 500); 2 Oct 2012 10:09:08 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 50313 invoked by uid 99); 2 Oct 2012 10:09:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2012 10:09:07 +0000 Date: Tue, 2 Oct 2012 21:09:07 +1100 (NCT) From: "Lars Hvile (JIRA)" To: dev@activemq.apache.org Message-ID: <636053931.153731.1349172547745.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (AMQ-2870) Messages that don't match a message selector for a durable subscription are stored causing the persistent store to eventually fill up MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-2870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13467600#comment-13467600 ] Lars Hvile commented on AMQ-2870: --------------------------------- This error still exists when using the JDBC store.. 2012-10-02 11:55:57,299 | TRACE | ignoring unmatched selector ack for: ID:java-dev-image-37369-1349171756956-0:1:1:1:1, cleanup will get to this message after subsequent acks. | org.apache.activemq.store.jdbc.JDBCTopicMessageStore | ActiveMQ Transport: tcp:///127.0.0.1:34884 The cleanup will of course never get to this message, as no messages are acked ever.. This exclusion of unmatched selectors happens at https://fisheye6.atlassian.com/browse/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCTopicMessageStore.java?r=1345202#to73 It was introduced as a fix to some other bugs in https://fisheye6.atlassian.com/changelog/activemq?cs=1025939 > Messages that don't match a message selector for a durable subscription are stored causing the persistent store to eventually fill up > ------------------------------------------------------------------------------------------------------------------------------------- > > Key: AMQ-2870 > URL: https://issues.apache.org/jira/browse/AMQ-2870 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.3.2 > Reporter: Gary Tully > Assignee: Gary Tully > Fix For: 5.4.1 > > > With a durable sub, ack entries are created on a message send for each durable sub, but if the durable sub does not match the message due to a selector, the message remains unacked, pending, such that is can fill up the store. Any unmatched message should be acked immediately. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira