<div dir="ltr">On Mon, May 22, 2017 at 7:45 AM, Vojtech Juranek <span dir="ltr">&lt;<a href="mailto:vjuranek@redhat.com" target="_blank">vjuranek@redhat.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On pátek 19. května 2017 13:05:00 CEST Gustavo Fernandes wrote:<br>
&gt; After the latest changes, new entries written to the target cluster are<br>
&gt; supposed to propagated back to the source [1].<br>
<br>
</span>I thought that when the rolling upgrade is in progress, entries written to<br>
target cluster are not written to source cluster. </blockquote><div><br></div><div>During a RU, there are two agents writing data to the target cluster: the user and the RU process itself.<br></div><div><br></div><div>Since the remote store in the target cluster is not supposed to be used in read-only mode anymore, all <br>data changes by the user in the target cluster during rolling upgrade are propagate remotely to the source. <br><br>OTOH, data written by the Rolling Upgrader itself is not written back to the source, since it is merely doing the migration<span class="gmail-pl-c1">.<br><br></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">If this is incorrect, what<br>
actually does L70 in DistCacheWriterInterceptor [1]?<br>
<br></blockquote><div><br></div><div>This line basically says: if data is being written by the rolling upgrade process itself, write it to the stores (excluding the remoteStore), regardless if the command is conditional or not.<br><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Thanks<br>
<br>
[1] <a href="https://github.com/infinispan/infinispan/blob/master/core/src/main/java/%0Aorg/infinispan/interceptors/impl/DistCacheWriterInterceptor.java#L70" rel="noreferrer" target="_blank">https://github.com/infinispan/<wbr>infinispan/blob/master/core/<wbr>src/main/java/<br>
org/infinispan/interceptors/<wbr>impl/<wbr>DistCacheWriterInterceptor.<wbr>java#L70</a><br>
<br>______________________________<wbr>_________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/infinispan-<wbr>dev</a><br></blockquote></div><br></div></div>