Use of Custom Comparator With LimitFilter For COH Extend Clients Returns Incorrect Results (Fixed in COH and WLS 12.1.2)

(Doc ID 1423469.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Coherence - Version: 3.5.0 to 3.7.1 - Release: AS10g to AS10g
Information in this document applies to any platform.


Using a limit filter with a custom comparator over Coherence*Extend returns incorrect results.

Running the same code over TCMP returns the correct results.

Issue is reproducible on all versions of COH 3.6 .x and 3.7.0.x

Attached is a Sample Code for reproducing the issue( We will see the following steps to reproduce the issue :

1) Extract and open with IDE. Hook in Coherence; tested with both 3.6 and 3.7 and see the same issue.

2) Run LimitTestServer to start a storage enabled node

3) Run TCMPTestClient to insert and then retrieve some data. Returned results are:

[ConverterEntry{Key="0", Value="0"}, ConverterEntry{Key="1", Value="1"}, ConverterEntry{Key="2", Value="2"}, ConverterEntry{Key="3", Value="3"}, ConverterEntry{Key="4", Value="4"}, ConverterEntry{Key="5", Value="5"}, ConverterEntry{Key="6", Value="6"}, ConverterEntry{Key="7", Value="7"}, ConverterEntry{Key="8", Value="8"}, ConverterEntry{Key="9", Value="9"}]

 4.) Run ExtendsTestClient to insert and retrieve some data. Returned results are:

[ConverterEntry{Key="65", Value="65"}, ConverterEntry{Key="317", Value="317"}, ConverterEntry{Key="324", Value="324"}, ConverterEntry{Key="414", Value="414"}, ConverterEntry{Key="574", Value="574"}, ConverterEntry{Key="685", Value="685"}, ConverterEntry{Key="695", Value="695"}, ConverterEntry{Key="736", Value="736"}, ConverterEntry{Key="823", Value="823"}, ConverterEntry{Key="831", Value="831"}]


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms