On 1) it is opened as "rwd". Just read someplace that "rwd" is not guaranteed on all OSs (although it says it is).
2) THis was just a quick and dirty impl. ObjectStream was used to make sure data is valid. In future some kind of hash or checksum can be used. 3) You don't have to worry about corruption if only one thread is writing to disk. I chose RAFs because of the setLength option. 4) I didn't put much thought into externalized txns yet. I think I'll have to have some sort of base id within the branch as well. When pruning what resource xids can be recovered, I'll need to take into account the base branch id as well. Currently I'm pruning only based on globalid. Anyways, external txns won't work anyways, because I didn't put in recovery in the prepare() method that's called by the terminator. 5) Define horrible. I thought I set my IDE to use the jBoss coding standards maybe I missed something. Bill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861476#3861476 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861476 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
