SourceForge.net
2005-03-19 12:33:52 UTC
Bugs item #1165743, was opened at 2005-03-18 14:57
Message generated for change (Comment added) made by tanderson
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1165743&group_id=54559
Category: message engine
Group: v0.7.6.1
Submitted By: Tim Anderson (tanderson)
Assigned to: Tim Anderson (tanderson)
Persistent messages to administered topics are not being
removed from the database when non-durable
TopicSubscribers are used to consume them.
To reproduce
----------------
. create an empty database
. create a non-durable TopicSubscriber to administered
topic "topic1"
. publish a persistent message to "topic1"
. after the subscriber has received and acknowledged the
message, run the following query:
select count(*) from messages;
One row will be present in the database.
Workaround
----------------
To avoid this bug, use durable subscribers to consume
persistent messages.
----------------------------------------------------------------------
Message:
Logged In: YES
user_id=557161
Fixed in CVS. Messages are now reference counted to ensure
proper cleanup once the last consumer has processed them.
Fix will be available in the 0.7.7 release.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1165743&group_id=54559
Message generated for change (Comment added) made by tanderson
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1165743&group_id=54559
Category: message engine
Group: v0.7.6.1
Status: Closed
Resolution: Fixed
Priority: 5Resolution: Fixed
Submitted By: Tim Anderson (tanderson)
Assigned to: Tim Anderson (tanderson)
Summary: Persistent topic messages not removed from database
Initial Comment:Persistent messages to administered topics are not being
removed from the database when non-durable
TopicSubscribers are used to consume them.
To reproduce
----------------
. create an empty database
. create a non-durable TopicSubscriber to administered
topic "topic1"
. publish a persistent message to "topic1"
. after the subscriber has received and acknowledged the
message, run the following query:
select count(*) from messages;
One row will be present in the database.
Workaround
----------------
To avoid this bug, use durable subscribers to consume
persistent messages.
----------------------------------------------------------------------
Comment By: Tim Anderson (tanderson)
Date: 2005-03-19 23:33Message:
Logged In: YES
user_id=557161
Fixed in CVS. Messages are now reference counted to ensure
proper cleanup once the last consumer has processed them.
Fix will be available in the 0.7.7 release.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1165743&group_id=54559