cancel
Showing results for 
Search instead for 
Did you mean: 

DirectoryCache invalidations in clustered setup

Juha_Kilpi
Champ on-the-rise
Champ on-the-rise

DirectoryCache uses put() function to add items to cache instead of localPut(). Using put() causes a "cacheinval" message to be sent and the key will be cleared from other nodes. When those nodes need to use the key they will do the same and clear the key from other nodes. This is not very efficient and causes a flood of inval messages.

Is this the way it's supposed to work or am I missing something?

4 REPLIES 4

Florent_Guillau
World-Class Innovator
World-Class Innovator

What code are you talking about exactly? What class or interface would localPut be a method of?

In recent versions of Nuxeo (since 9.3, see NXP-22786) there is only local caching with cross-cluster invalidation propagated by a pub/sub mechanism.

I'm sorry, I remembered the method name incorrectly. I was referring to [CacheManagement.putLocal(String key, Serializable value](https

Ok I see what you mean, there's indeed a problem. I opened [NXP-25065](https

Thank you for looking into this issue.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.