<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">During a push, wouldn't you hit consistency issues with ongoing (applictaion-initiated) writes on the new cluster?<div><br><div><div>On 13 Feb 2013, at 09:09, Tristan Tarrant &lt;<a href="mailto:ttarrant@redhat.com">ttarrant@redhat.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi all,<br>
    <br>
    the current implementation of rolling upgrades is lacking in a few
    areas which I think warrant urgent attention in the scope of JDG 6.1
    (i.e. for the 5.2.x-cycle):<br>
    <br>
    <ul>
      <li>support for rolling upgrades from JDG 6.0.x to JDG 6.1.x</li>
      <li>efficiency of the bulk key synchronization (all keys are
        serialized into a single key which the target cluster uses to
        *suck* all data from the source cluster).<br>
      </li>
    </ul><p><br>
      During the Infinispan 5.2 cycle I added support in
      RemoteCache+RemoteCacheStores to be able to fetch the entries
      complete with metadata (i.e. expiration/maxIdle). Unfortunately
      this feature is not available in Infinispan 5.1, and therefore the
      implementation may only be able to fetch naked key/values, losing
      mortality information.<br>
      To partially overcome this issue, and also to solve the above
      efficiency issue, I would like the synchronization phase of the
      rolling upgrade to be a push operation from the source cluster to
      the target cluster: instead of dumping the keyset into a single
      key, the source cluster would initiate a distributed task which
      would cycle through the entire keyset and PUT to the target
      cluster complete with the correct expiration information (if the
      source cluster uses JDG 6.1 this could probably be a GET, which
      would trigger the usual getWithMetadata).<br>
    </p><p><br>
      Comments, thoughts.<br>
    </p><p>Tristan<br>
    </p>
  </div>

_______________________________________________<br>infinispan-dev mailing list<br><a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/infinispan-dev</blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div>Manik Surtani</div><div><a href="mailto:manik@jboss.org">manik@jboss.org</a></div><div><a href="http://twitter.com/maniksurtani">twitter.com/maniksurtani</a></div><div><br></div><div><div>Platform Architect, JBoss Data Grid</div><div><a href="http://red.ht/data-grid">http://red.ht/data-grid</a></div></div></div></span></div></span></div></span>
</div>
<br></div></body></html>