My Oracle Support Banner

Using Data Affinity With Coherence 3.7.1 BroadKeyPartitioningStrategy Gives Missing/null Data (Doc ID 2304019.1)

Last updated on OCTOBER 20, 2023

Applies to:

Oracle Coherence - Version 3.7.1.9 and later
Information in this document applies to any platform.

Goal

Coherence deployment with 9 physical servers, with 4 storage nodes of 16GB each running on each server (36 storage nodes).


Data affinity (queries that use KeyAssociatedFilter, and key objects that use the KeyAssociation interface) is used to reduce CPU load on Coherence cache servers,. Number of associated keys (topics) is too small to spread evenly across all partitions (about 5000 possible key associations, with 8191 partitions), so BroadKeyPartitioningStrategy is used to spread each associated key across multiple partitions.

However, with this approach, for some data, invocations of NamedCache.getAll(key_collection) or NamedCache.get(key) return "null" instead of expected data. Some invocations of .get(key_collection) were returning "null" data for every key. 
 

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.