[jboss-dev-forums] [Design of JBossCache] - Re: state transfer failure handling

bstansberry@jboss.com do-not-reply at jboss.com
Mon Sep 18 14:56:01 EDT 2006


My feeling on this is still about a -0; i.e. I think its better to just do it atomically but I don't feel strongly about it.  Doing it non-atomically requires careful coding that's going to be easy for later maintainers to break.

Also, the use case I described where continuing after failure is valid is based on the fact that the persistent data is "gold" while the in-memory data is just a speed optimization.  That means that if the persistent transfer fails, the transferred in-memory data needs to be removed.

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

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



More information about the jboss-dev-forums mailing list