As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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?
What code are you talking about exactly? What class or interface would localPut be a method of?
localPut
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.