Coherence*Extend Clients That Register Cache MapListeners Do Not Receive The Correct Number Of Events
Last updated on NOVEMBER 03, 2016
Applies to:Oracle Coherence - Version 18.104.22.168 to 22.214.171.124 [Release AS10g]
Information in this document applies to any platform.
In the cluster an application has created multiple MapListener instances against a cache. One hundred values are inserted into the cache with key values 0 to 99, then those values are updated and then deleted:
- Listener 1: Listener using an AlwaysFilter and the lite flag set to false. In other words, this listener should receive 100 insert, 100 update, and 100 delete events.
- Listener 2: Equivalent to listener 1, but with the lite set to true. This listener expects to see 100 insert, 100 update, and 100 delete events.
- Listener 3: This listener listens for one specific key value from the range being inserted. The lite flag set is to false. This listener expects to see 1 insert, 1 update, and 1 delete event.
- Listener 4: Equivalent to listener 3 with lite flag set to true. Similarly, this listener expects to see 1 insert, 1 update, and 1 delete event.
- Listener 5: This listener is similar to listener 1, but instead of an AlwaysFilter a LessFilter is used to receive events on keys less than 50. The listener expects to receive 50 events for keys 0 to 49, which will translated to 50 insert, 50 update, and 50 delete events.
- Listener 6: Equivalent to listener 5, but with lite flag set to true rather than false. Again the same number of events is expected as for listener 5.
When the 100 objects are inserted, updated and deleted the listeners the number of events seen is tracked and reported:
The fix in 126.96.36.199 corrects the behaviour of the listeners that are either registered to receive all events, or only events for objects that match an applied filter, but does not correct the issue for the listeners that have registered for changes to objects with a specific key value.
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