REST get on a single key fails to get the data from cache store that means read-through calls are failing
Last updated on JUNE 02, 2015
Applies to:Oracle Coherence - Version 184.108.40.206.1 and later
Information in this document applies to any platform.
Rest application appears not to be triggering read-through to cache store. In Coherence 220.127.116.11.1 for REST cache read-through calls are not working. REST cache get calls are working if the objects exists in local cache already by a read-through call via extend TCP. There are no errors in logs. It seems that Push replication PublishingCacheStore.load() does not get called via the ExtendHttpProxyService (REST).
Here is the sample of code how this issue is happening:
After the coherence storage server is running, the following REST get call fails in Coherence 18.104.22.168.1 but runs in 22.214.171.124.4.
Note that if you run the client second time the data is available in the local storage and the REST call works. Cache Store read-through call does not happen for REST get.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms