[infinispan-commits] Infinispan SVN: r1752 - trunk/server/hotrod/src/main/scala/org/infinispan/server/hotrod.

infinispan-commits at lists.jboss.org infinispan-commits at lists.jboss.org
Fri May 7 05:11:11 EDT 2010


Author: galder.zamarreno at jboss.com
Date: 2010-05-07 05:11:10 -0400 (Fri, 07 May 2010)
New Revision: 1752

Modified:
   trunk/server/hotrod/src/main/scala/org/infinispan/server/hotrod/HotRodEncoder.scala
Log:
Updated http://community.jboss.org/docs/DOC-14421 with information on the type of header returned when hash-distribution-aware client is used and cache does not support distribution, hence removed TODO.

Modified: trunk/server/hotrod/src/main/scala/org/infinispan/server/hotrod/HotRodEncoder.scala
===================================================================
--- trunk/server/hotrod/src/main/scala/org/infinispan/server/hotrod/HotRodEncoder.scala	2010-05-06 22:22:40 UTC (rev 1751)
+++ trunk/server/hotrod/src/main/scala/org/infinispan/server/hotrod/HotRodEncoder.scala	2010-05-07 09:11:10 UTC (rev 1752)
@@ -84,9 +84,8 @@
       }
    }
 
-   // TODO: Spec values when client intel is 3 but cache is not configured with distribution
    private def writeHashTopologyHeader(t: TopologyAwareResponse, buffer: ChannelBuffer) {
-      trace("Return topology change response header in spite of having a hash aware client {0}", t)
+      trace("Return limited hash distribution aware header in spite of having a hash aware client {0}", t)
       buffer.writeUnsignedInt(t.view.topologyId)
       buffer.writeUnsignedShort(0) // Num key owners
       buffer.writeByte(0) // Hash function



More information about the infinispan-commits mailing list