Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Become_server_queue was never flushed (JGRP-1522) - fixed now

  • Loading branch information...
commit be2134c9edaaf365a8bca1812b5b3db8e643d818 1 parent 8442139
Bela Ban authored October 05, 2012
4  src/org/jgroups/protocols/pbcast/NAKACK.java
@@ -534,10 +534,8 @@ public Object down(Event evt) {
534 534
                 break;
535 535
 
536 536
             case Event.BECOME_SERVER:
537  
-                boolean was_server=is_server;
538 537
                 is_server=true;
539  
-                if(!was_server)
540  
-                    flushBecomeServerQueue();
  538
+                flushBecomeServerQueue();
541 539
                 break;
542 540
 
543 541
             case Event.SET_LOCAL_ADDRESS:
4  src/org/jgroups/protocols/pbcast/NAKACK2.java
@@ -494,10 +494,8 @@ public Object down(Event evt) {
494 494
                 break;
495 495
 
496 496
             case Event.BECOME_SERVER:
497  
-                boolean was_server=is_server;
498 497
                 is_server=true;
499  
-                if(!was_server)
500  
-                    flushBecomeServerQueue();
  498
+                flushBecomeServerQueue();
501 499
                 break;
502 500
 
503 501
             case Event.SET_LOCAL_ADDRESS:

0 notes on commit be2134c

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