[jboss-dev-forums] [Design of JBossCache] - Re: New state transfer in JBoss Cache

manik.surtani@jboss.com do-not-reply at jboss.com
Tue Mar 11 12:59:22 EDT 2008


"Bela Ban" wrote : 
  | What happens with asynchronous replication ? A committed TX will be sent asynchronously in a one-phase commit as a combined PREPARE/COMMIT to D. Does D queue these ?
  | 
  | ANSWER: we don't need to queue them because they will get applied to A's state, and so we have them as part of A's state...
  | 

No, but just like 2PC messages, D needs to respond positively to 1PC prepare/commit messages so that the tx originator can complete the txs.  After responding positively, D would discard the messages assuming that they will either be incorporated in A's state or be a part of the tx log A sends along with the state.

"Bela Ban" wrote : 
  | Idempotency: creation, deletion and moving of data/nodes is not imdempotent. Is idempotency required in this design ?
  | 

Need to think whether idempotency is still a requirement even after changes made in Orlando.

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

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



More information about the jboss-dev-forums mailing list