My Oracle Support Banner

Coherence Interceptor Fires For Wrong Cache (Doc ID 2410587.1)

Last updated on AUGUST 08, 2023

Applies to:

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

Goal

Two Coherence clusters with federation set up between them to replicate information from certain caches between the clusters. Interceptors are used to ensure new records are not overwritten with older records from the other cluster during federation. However, one of the interceptors is fired during federation for a cache for which it is not configured, leading to an exception being thrown and the federation being incorrectly aborted. The intereceptor is called RetainMostRecentVersionInterceptor and is triggered during COMMITTING_REMOTE Federated Change Events.


This problem seems to be caused by several caches being located in the same scheme (federated-admin-scheme). Of those caches, three are being federated (users, desks and federation-beacon). The interceptor (RetainMostRecentVersionInterceptor) is configured to fire only for the users and desks cache, using the configuration method described in section "27.3.3.1 Registering Event Interceptors For a Specific Cache" of the Coherence development guide. However, it clearly fires during federation of federation-beacon cache records as well.

 


 

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.