Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

checking if merge_kill_timeout (if > 0) < merge_timeout

  • Loading branch information...
commit 6df668373612c9b80b9dff2e2e7448202c66f18a 1 parent 14de7b5
Bela Ban authored

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. +3 0  src/org/jgroups/protocols/pbcast/GMS.java
3  src/org/jgroups/protocols/pbcast/GMS.java
@@ -322,6 +322,9 @@ public GmsImpl getImpl() {
322 322 public void init() throws Exception {
323 323 if(view_ack_collection_timeout <= 0)
324 324 throw new IllegalArgumentException("view_ack_collection_timeout has to be greater than 0");
  325 + if(merge_kill_timeout > 0 && merge_kill_timeout < merge_timeout)
  326 + throw new IllegalArgumentException("merge_kill_timeout (" + merge_kill_timeout +
  327 + ") needs to be less than merge_timeout (" +merge_timeout+")");
325 328 prev_members=new BoundedList<Address>(num_prev_mbrs);
326 329 prev_views=new BoundedList<Tuple<View,Long>>(num_prev_views);
327 330 TP transport=getTransport();

0 comments on commit 6df6683

Please sign in to comment.
Something went wrong with that request. Please try again.