Cache Is Empty After Calling invokeAll() With PreloadRequest (Doc ID 981055.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Coherence - Version: 3.5.2 - Release: 3.5
Information in this document applies to any platform.

Symptoms


After upgrade from Coherence 3.4.1 to 3.5.2 invokeAll() with PreloadRequest returns 0 rows instead of the expected rows.

e.g.:

A cache is pre-loaded like this:
cache.invokeAll(Collections.singleton(key), PreloadRequest.INSTANCE);

But after pre-loading had been done the cache appears to be empty
Object count = cache.aggregate(AlwaysFilter.INSTANCE, new Count());
System.out.println("\"real\" count=" + count); // count == 0

Cause

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