Skip to content

Commit

Permalink
remove allowMessagesToPassUp
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Blagojevic committed Jun 2, 2009
1 parent acc4277 commit a677ade
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/org/jgroups/protocols/pbcast/FLUSH.java
Expand Up @@ -130,8 +130,6 @@ public class FLUSH extends Protocol {
@GuardedBy("sharedLock")
private boolean flushCompleted = false;

private volatile boolean allowMessagesToPassUp = false;

private final Promise<Boolean> flush_promise = new Promise<Boolean>();

private final AtomicBoolean flushInProgress = new AtomicBoolean(false);
Expand Down Expand Up @@ -182,7 +180,6 @@ public void start() throws Exception {
synchronized(blockMutex){
isBlockingFlushDown = true;
}
allowMessagesToPassUp = false;
}

public void stop() {
Expand Down Expand Up @@ -435,9 +432,6 @@ public void run() {
if(dest != null && !dest.isMulticastAddress()) {
return up_prot.up(evt); // allow unicasts to pass, virtual synchrony olny applies to multicasts
}

if(!allowMessagesToPassUp)
return null;
}
break;

Expand Down Expand Up @@ -631,7 +625,6 @@ private void onStopFlush() {
flushMembers.clear();
suspected.clear();
flushCoordinator = null;
allowMessagesToPassUp = true;
flushCompleted = false;
}

Expand Down

0 comments on commit a677ade

Please sign in to comment.