Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
Results still returning when Coherence servers are turned off.

I have inherited a project that uses coherence cache to store LDAP data found by querying Oracle Virtual Directory. I was investigating a ticket that reported queries to ovd via a cache plugin were reporting the cache was sometimes offline. Not knowing much about coherence I just started experimenting. I shut down my coherence server nodes (2 in the cluster) and ran an ldapsearch to ovd which uses the plugin to hit the coherence cache. I expected to not get anything back, and probably get an error since the coherence servers were down, instead I still got results back which makes no sense. I can't explain this behavior. I know nothing about OVD and little about coherence cache but was wondering if anyone might have an idea what could be happening.
Answers
-
The most likely thing is that your coherence client is configured as "storage enabled", which technically means your client is a server. Being "storage enabled" is the default and needs to be explicitly disabled if you don't want your clients to contribute storage to the cache. This is configured in your cache config file, in the distributed-scheme/local-storage element. Another possibility is that you are instead using a replicated cache which would mean that your client holds all the cache contents locally, in this case your cache config will have a replicated-scheme.
thanks,
Mark
Oracle Coherence