Menu

#226 JBossMQ MessageCache changes

v3.2
open
nobody
JBossMQ (8)
5
2003-01-09
2002-11-11
No

Applies to 4.0 only for now.

The global locking on the MessageCache is gone.
Locks are now on the message and
the LRUCache when required.

Softening is now done by the softening thread,
except addMessage which will soften one
message when required to make room for
the new message.

Some fixes to the message cache processing
under stress, mostly for the joint
CacheStore/PersistenceManager jdbc2.

Some fixes for jdbc2.
Including changes to the SQL in
jbossmq-service.xml to correct the
recovery process.

Added an update operation to the persistence
managers so that the redelivered flag is persisted
across server reboots.

Removed the linear traversal of
unacknowledgedMessages in BasicQueue,

Rollback the message cache entry
when an addMessage transaction fails.

Fixed problems with rollingback when
a transaction timeout interrupts the thread for jdbc2.

Fixed the testsuite to clear undelivered messages
and remove durable subscriptions,
making it easier to spot a message cache leak
in future.

Regards,
Adrian

Discussion

  • Adrian Brock

    Adrian Brock - 2003-01-09
    • milestone: 237468 --> v3.2
     
  • Adrian Brock

    Adrian Brock - 2003-01-09

    Logged In: YES
    user_id=9459

    Backported to 3.2

     
  • Adrian Brock

    Adrian Brock - 2003-02-10

    Logged In: YES
    user_id=9459

    Backported to 3.0

     

Log in to post a comment.