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