Commits

dr...@81dbac14-341a-0410-aa85-cbcd92e6f43e  committed 5dca471

Submitter: Andres March
Date: November 28th, 2004

Updated javagroups jar and configuration based on
recommendations from maintainer (Bela Ban). Besides
updating to v. 2.2.7, I changed some timeout settings and
moved STABLE protocol above UNICAST.

  • Participants
  • Parent commits 37d0c35

Comments (0)

Files changed (5)

File docs/changelog.html

 <body>
 
 <h3>OSCache 2.1</h3>
-<p><i>(26th September 2004 - by <a href="mailto:oscache at andresmarch dot com">Andres March</a>)</i></p>
+<p><i>(28th November 2004 - by <a href="mailto:oscache at andresmarch dot com">Andres March</a>)</i></p>
 <b>Bug Fixes:</b>
 <ul>
   <li>[<a href='http://jira.opensymphony.com/browse/CACHE-70'>CACHE-70</a>] - last modified problem</li>
 </ul>
 <b>Improvements:</b>
 <ul>
+ <li>Updated jgroups jar and configuration based upon recommendations from Bela Ban (javagroups maintainer).</li>
   <li>Website documentation updates.</li>
   <LI>Added HashDiskPersistenceListner that hashes file names in order to
   eliminate nasty characters and overly long names</LI>

File docs/clustering.html

 values), you can use the <code>cache.cluster.properties</code> configuration property. Use this
 <em>instead of</em> the <code>cache.cluster.multicast.ip</code> property. The default value is:</p>
 
-<p><code>UDP(mcast_addr=231.12.21.132;mcast_port=45566;ip_ttl=32;mcast_send_buf_size=150000;mcast_recv_buf_size=80000):PING(timeout=2000;num_initial_members=3):MERGE2(min_interval=5000;max_interval=10000):FD_SOCK:VERIFY_SUSPECT(timeout=1500):pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800):pbcast.STABLE(desired_avg_gossip=20000):UNICAST(timeout=5000):FRAG(frag_size=8096;down_thread=false;up_thread=false):pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;shun=false;print_local_addr=true)</code></p>
+<p><code><pre>UDP(mcast_addr=231.12.21.132;mcast_port=45566;ip_ttl=32;\
+mcast_send_buf_size=150000;mcast_recv_buf_size=80000):\
+PING(timeout=2000;num_initial_members=3):\
+MERGE2(min_interval=5000;max_interval=10000):\
+FD_SOCK:VERIFY_SUSPECT(timeout=1500):\
+pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800;max_xmit_size=8192):\
+UNICAST(timeout=300,600,1200,2400):\
+pbcast.STABLE(desired_avg_gossip=20000):\
+FRAG(frag_size=8096;down_thread=false;up_thread=false):\
+pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;shun=false;print_local_addr=true)
+</pre></code></p>
 
 See the <a href="http://www.javagroups.com">JavaGroups</a> site for more information. In particular,
 look at the documentation of Channels in the <a href="http://www.javagroups.com/javagroupsnew/docs/newuser/index.html">User's Guide</a>.

File lib/plugins/clustersupport/jgroups-2.2.7.jar

Binary file added.

File lib/plugins/clustersupport/jgroups-all.jar

Binary file removed.

File src/plugins/clustersupport/java/com/opensymphony/oscache/plugins/clustersupport/JavaGroupsBroadcastingListener.java

     /**
     * The first half of the default channel properties. They default channel properties are:
     * <pre>
-    * UDP(mcast_addr=*.*.*.*;mcast_port=45566;ip_ttl=32;mcast_send_buf_size=150000;mcast_recv_buf_size=80000):PING(timeout=2000;num_initial_members=3):MERGE2(min_interval=5000;max_interval=10000):FD_SOCK:VERIFY_SUSPECT(timeout=1500):pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800):pbcast.STABLE(desired_avg_gossip=20000):UNICAST(timeout=5000):FRAG(frag_size=8096;down_thread=false;up_thread=false):pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;shun=false;print_local_addr=true)
+    * UDP(mcast_addr=*.*.*.*;mcast_port=45566;ip_ttl=32;\
+    * mcast_send_buf_size=150000;mcast_recv_buf_size=80000):\
+    * PING(timeout=2000;num_initial_members=3):\
+    * MERGE2(min_interval=5000;max_interval=10000):\
+    * FD_SOCK:VERIFY_SUSPECT(timeout=1500):\
+    * pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800;max_xmit_size=8192):\
+    * UNICAST(timeout=300,600,1200,2400):\
+    * pbcast.STABLE(desired_avg_gossip=20000):\
+    * FRAG(frag_size=8096;down_thread=false;up_thread=false):\
+    * pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;shun=false;print_local_addr=true)
     * </pre>
     *
-    *
     * Where <code>*.*.*.*</code> is the specified multicast IP, which defaults to <code>231.12.21.132</code>.
     */
     private static final String DEFAULT_CHANNEL_PROPERTIES_PRE = "UDP(mcast_addr=";
     /**
     * The second half of the default channel properties. They default channel properties are:
     * <pre>
-    * UDP(mcast_addr=*.*.*.*;mcast_port=45566;ip_ttl=32;mcast_send_buf_size=150000;mcast_recv_buf_size=80000):PING(timeout=2000;num_initial_members=3):MERGE2(min_interval=5000;max_interval=10000):FD_SOCK:VERIFY_SUSPECT(timeout=1500):pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800):pbcast.STABLE(desired_avg_gossip=20000):UNICAST(timeout=5000):FRAG(frag_size=8096;down_thread=false;up_thread=false):pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;shun=false;print_local_addr=true)
+    * UDP(mcast_addr=*.*.*.*;mcast_port=45566;ip_ttl=32;\
+    * mcast_send_buf_size=150000;mcast_recv_buf_size=80000):\
+    * PING(timeout=2000;num_initial_members=3):\
+    * MERGE2(min_interval=5000;max_interval=10000):\
+    * FD_SOCK:VERIFY_SUSPECT(timeout=1500):\
+    * pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800;max_xmit_size=8192):\
+    * UNICAST(timeout=300,600,1200,2400):\
+    * pbcast.STABLE(desired_avg_gossip=20000):\
+    * FRAG(frag_size=8096;down_thread=false;up_thread=false):\
+    * pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;shun=false;print_local_addr=true)
     * </pre>
+    *
     * Where <code>*.*.*.*</code> is the specified multicast IP, which defaults to <code>231.12.21.132</code>.
     */
-    private static final String DEFAULT_CHANNEL_PROPERTIES_POST = ";mcast_port=45566;ip_ttl=32;mcast_send_buf_size=150000;mcast_recv_buf_size=80000):PING(timeout=2000;num_initial_members=3):MERGE2(min_interval=5000;max_interval=10000):FD_SOCK:VERIFY_SUSPECT(timeout=1500):pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800):pbcast.STABLE(desired_avg_gossip=20000):UNICAST(timeout=5000):FRAG(frag_size=8096;down_thread=false;up_thread=false):pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;shun=false;print_local_addr=true)";
+    private static final String DEFAULT_CHANNEL_PROPERTIES_POST = ";mcast_port=45566;ip_ttl=32;mcast_send_buf_size=150000;mcast_recv_buf_size=80000):" + "PING(timeout=2000;num_initial_members=3):MERGE2(min_interval=5000;max_interval=10000):FD_SOCK:VERIFY_SUSPECT(timeout=1500):" + "pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800;max_xmit_size=8192):UNICAST(timeout=300,600,1200,2400):pbcast.STABLE(desired_avg_gossip=20000):" + "FRAG(frag_size=8096;down_thread=false;up_thread=false):pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;shun=false;print_local_addr=true)";
     private static final String DEFAULT_MULTICAST_IP = "231.12.21.132";
     private NotificationBus bus;