Hi,

I would say initializing the collections (or tables when using a
relational database) is not expected to be done concurrently. Maybe we can
somehow preven that in Oak (patches are welcome!), or we document that
this is not supported.

Regards,
Thomas



On 26/10/15 18:36, "Navarro, Gabriela Matias" <gabriela.m.nava...@hp.com>
wrote:

>Hi everyone,
>
>I'm working on a project where we need to deploy multiple instances of
>Oak pointing to the same MongoDB. The problem is that sometimes in the
>initialization phase (initialize method of OakInitializer class) a
>CommitFailedException happens and what  I understood of why this happens
>it's because if two or more instances tries to initialize the collection
>on MongoDB at the same time, it will get a conflict on the merge.
>
>This initialization problem affects the initialization of others services
>from a OSGI environment.
>
>Does anyone know how to fix this problem ?
>
>Thanks,
>
>Gabriela Navarro

Reply via email to