cancel
Showing results for 
Search instead for 
Did you mean: 

Error on batch/upload rest api with multiple servers

Claudio_Viana1
Champ in-the-making
Champ in-the-making

Hi

We are currently using the batch/upload rest api to upload files, and we need to load more than one instance of Nuxeo, to distribute requests, but put an elastic load balance in front of the servers is causing a problem in upload (I imagine that because of tmp data).

How can I solve this problem? Configuring a cluster enviroment? The bach/upload rest api will work in this case?

Thanks

1 REPLY 1

ataillefer_
Star Contributor
Star Contributor

Hi,

Yes indeed the batch upload is currently not cluster aware.

We are working on fixing this for the next version of Nuxeo, the LTS 2015 (7.10), see https://jira.nuxeo.com/browse/NXP-17780.

Waiting for it you can use session affinity with a session cookie or a specific header to make sure that both /batch/upload and /batch/execute requests are run on the same node for a given batch.

Hope this helps.

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.