Skip to content

Commit

Permalink
[JGRP-1480] Request retransmission even when only missing one message
Browse files Browse the repository at this point in the history
  • Loading branch information
dereed committed Jun 13, 2012
1 parent 9737c8c commit c9bda42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/org/jgroups/protocols/pbcast/NAKACK.java
Original file line number Diff line number Diff line change
Expand Up @@ -927,11 +927,11 @@ private void rebroadcastMessages() {
// Also, we need to ask for retransmission of my_high+1, because we already *have* my_high, and don't
// need it, so the retransmission range is [my_high+1 .. their_high]: *exclude* my_high, but *include*
// their_high
long my_high=Math.max(1, Math.max(my_entry[0], my_entry[1]) +1);
long my_high=Math.max(my_entry[0], my_entry[1]);
if(their_high > my_high) {
if(log.isTraceEnabled())
log.trace("[" + local_addr + "] fetching " + my_high + "-" + their_high + " from " + member);
retransmit(my_high, their_high, member, true); // use multicast to send retransmit request
retransmit(my_high+1, their_high, member, true); // use multicast to send retransmit request
xmitted=true;
}
}
Expand Down Expand Up @@ -1304,4 +1304,4 @@ public String[] supportedKeys() {
/* ----------------------------- End of Private Methods ------------------------------------ */


}
}

0 comments on commit c9bda42

Please sign in to comment.