[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Transactional Summary & Holes on the journal

timfox do-not-reply at jboss.com
Tue Jun 23 17:55:53 EDT 2009


A problem with that approach is you might have to update the commit record when you compact, since the number of tx operations in the file with the commit might have changed.

The commit record might be in the current file so that will be hard and undesirable.

If you just add update records you don't have to update the actual commit record.

And you have all the information you need to do this - when you compact the journal you know how many tx operations are in the file both before and after, so you can easily add an update record without having to store any extra information in memory.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239563#4239563

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239563



More information about the jboss-dev-forums mailing list