Browse files

RetransmitWindow: offset must be 'low', and not highest_delivered, as…

… someone might ask for retransmission of a message between low and highest_delivered
  • Loading branch information...
1 parent f2d67ad commit 4d46f1bf50084b8f473ec8c7eee040ad0ed495ee @belaban committed Dec 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/org/jgroups/stack/NakReceiverWindow.java
View
2 src/org/jgroups/stack/NakReceiverWindow.java
@@ -140,7 +140,7 @@ public NakReceiverWindow(Address local_addr, Address sender, Retransmitter.Retra
new RangeBasedRetransmitter(sender, cmd, sched) :
new DefaultRetransmitter(sender, cmd, sched);
- xmit_table=new RetransmitTable(5, 10000, highest_delivered +1);
+ xmit_table=new RetransmitTable(5, 10000, low);
}

0 comments on commit 4d46f1b

Please sign in to comment.