cancel
Showing results for 
Search instead for 
Did you mean: 

changeToken not sync between nuxeo server instances in cluster mode

mboukada
Champ in-the-making
Champ in-the-making

I'm facing an issue with nuxeo (version 10.10) in cluster mode when trying to update a document. The API return an error "Invalid change token" [code] . It seems to be because of the changeToken not having the same value between instances for the same document

Btw, this error is not correctly handled by nuxeo-java-client:3.11.0 because the response is a string raw text and cannot be parsed to a json. 

The current configuration is : 
- 2 nuxeo servers with both having property nuxeo.cluster.enabled set to true and nuxeo.cluster.nodeid set to different values
- postgresql db
- elasticsearch cluster
- redis

do you have any idea what can happen? changeToken is stored in cache in each instance?

Thanks in advance for your feedback

1 ACCEPTED ANSWER

mboukada
Champ in-the-making
Champ in-the-making

finally I fixed it by setting the properties repository.clustering.enabled and repository.clustering.id which are deprecated now but still ok for 10.10 version

View answer in original post

1 REPLY 1

mboukada
Champ in-the-making
Champ in-the-making

finally I fixed it by setting the properties repository.clustering.enabled and repository.clustering.id which are deprecated now but still ok for 10.10 version

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.