[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Journal Clean up / Compactor
timfox
do-not-reply at jboss.com
Tue Feb 10 17:18:32 EST 2009
Tried to ping you on IRC but you'd gone.
Anyway, after some reflection I think you're idea of moving those records that cause the "linked list" problem in memory is good. Note however you only need to change the JournalFile objects and counts in memory - you don't need to change anything on disk. Doing so will make normal reclaim kick in and delete the files.
Be careful though to make sure if you delete one file you delete them all - or you might end up deleting the files with deletes in them, leaving the adds!
On top of that, we also need to solve the other reclaiming issue I talked of before. Undeleted records in a file surrounded by deleted records. This can only be solved by compaction.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4208776#4208776
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4208776
More information about the jboss-dev-forums
mailing list