[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Transactional Summary & Holes on the journal (Repost)
clebert.suconic@jboss.com
do-not-reply at jboss.com
Wed Jun 24 09:22:35 EDT 2009
I'm writing the number of records at where the commit is located.
Example 1:
File1: 5 records
File2: 3 records
File3: 1 records
File4: 4 records and 1 commit
The commit will be:
COMMIT, 4
I won' t need to inform the other files on the summary any more, since I'm guaranteeing they are synced before writing the COMMIT. The only place I could have a hole now is at the current file.
Example 2:
The user took some time to commit, and there are no records at the top:
File1: 5 records
File2: 3 records
File3: 1 records
File4: 4 records
- User takes 2 hours to commit it:
File 10: Commit Record alone
The commit record on that case will be:
COMMIT, 0
what is a valid approach,
And compacting would work fine with this approach also.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239760#4239760
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239760
More information about the jboss-dev-forums
mailing list