]
Bela Ban commented on JGRP-1872:
--------------------------------
Turns out master (3.5) already has the fix; need to backport it to the 3.4 branch only
Table: purge() with incorrect seqnos moves HD/LOW back
------------------------------------------------------
Key: JGRP-1872
URL:
https://issues.jboss.org/browse/JGRP-1872
Project: JGroups
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 3.4.6
When we have a Table with {{low=40, hd=40, hr=45}} and receive a {{purge(30,true)}}, then
the table will be {{low=30,hd=30,hr=45}}.
This only happens with parameter {{force}} being {{true}}.
This doesn't cause any bugs, but until the next (correct) {{purge()}} is invoked, the
table will show and incorrect number of missing messages.
SOLUTION: add the check to the start of {{purge()}}:
{code}
if(seqno <= low) // perhaps check for force as well
return;
{code}