[
https://issues.jboss.org/browse/ISPN-9994?page=com.atlassian.jira.plugin....
]
Wolf-Dieter Fink commented on ISPN-9994:
----------------------------------------
Note that the pushState will only copy the state from this site to the other, if there are
old entries on the other site they are not removed!
If this should happen the site which need to be uptated need to be cleared before!
Explanations for XSiteRepl "Taking a site back online" is
out of date and confusion
-----------------------------------------------------------------------------------
Key: ISPN-9994
URL:
https://issues.jboss.org/browse/ISPN-9994
Project: Infinispan
Issue Type: Bug
Components: Documentation-Core
Affects Versions: 9.4.8.Final
Environment:
http://infinispan.org/docs/stable/user_guide/user_guide.html#taking_a_sit...
Reporter: Wolf-Dieter Fink
Priority: Major
The chapter 26.3.2 statement is that bringSiteOnline() need to be invoked for all nodes.
This is not (longer) correct, it need to be invoked for all caches.
The new GlobalXSiteAdminOperations component will do this at once.
Another thing is that the bringStiteOnline() will only enable the repl, but not do a full
update so only new put's will go to the other site.
pushState(site) will bring the site online and transfer the state.
Also the wording could be confusion, sometimes it is mentioned to invoke the method on
master and sometimes on backup.
It should be clear that the invocation is needed on the current active site - the site
which contain the up-to-date caches - otherwise the result is that the correct site is
overriden with the outdated caches!
--
This message was sent by Atlassian Jira
(v7.12.1#712002)