"manik.surtani(a)jboss.com" wrote :
| Forget what I said earlier - it is very hacky and relies on how BR backup Fqns are
built.
Why is that hacky? IIRC, if the cache is configured for BR, *any* state transfer follows
this pattern (please double check if I'm wrong):
1) Node that prepares state gets it from the main tree.
2) Node the receives state integrates it into a buddy backup subtree.
If this is the case, the rules for determining whether Fqn translation needs to be done
are clear, and can be encapsulated in the StateTransferManager. The rules for translating
the Fqns are clear and the Fqn translation operation can be encapsulated in the
BuddyManager. I don't see any reason the translation needs to be embedded in the
JGroups string.
Don't get me wrong; I'm not strongly opposed to embedding it; it's just that I
don't think it's required, and can be avoided if there's concern it will prove
to be a problem down the road.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984247#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...