[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Sweet life on the journal...

clebert.suconic@jboss.com do-not-reply at jboss.com
Wed Jul 16 09:28:52 EDT 2008


anonymous wrote : Question: on the record sequence number - how can you be sure on old sequence number from a reclaimed file doesn't by chance match the correct sequence number - in this case you wouldn't be able to detect failure right?


I keep a variable called nextOrderingId (on JournalImpl).

When I reload the journal, I set nextOrderingID to the max existent, so new files will keep after the nextOrderingId.

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

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



More information about the jboss-dev-forums mailing list