anonymous wrote : 
  | The disk might fail, but this does not create a scenario of inconsistent 
state.  Prepared resources will just get rolled back during recovery.
  | 

resource1.prepare(); // vote ok
resource2.prepare(); // vote ok
log.record(); // ooops disk full

Now you have to rollback when it could be commited.
Worse, you can't do any more work because all transactions fail from now on.


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

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


-------------------------------------------------------
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

Reply via email to