I have added a class called SequenceGenerator, and the Journal is using that to generate
newIDs now.
I didn't change SessionImpl and TransactionImpl as I assume you are changing those
classes because of the replication work you're doing.
As soon as we start assigning IDs on paging, we also need to change PagingManagerImpl to
not assign IDs.
I also already added the ID on the file-encode.
Also, Tim: Please take a look on SequenceGenerator. I wanted to avoid a synchronized block
on that method. Maybe you would have a better idea in how to make it atomic without
requiring synchronization.
On the tests I have done it is ok.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178656#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...