On 18/08/15 11:14, "Stefan Egli" wrote: >b) Oak does not do the System.exit but refuses to update anything towards >the document store (thus just throws exceptions on each invocation) - and >upper level code detects this situation (eg a Sling Health Check) and >would do a System.exit based on how it is configured > >c) same as b) but upper level code does not do a System.exit (I¹m not sure >if that makes sense - the instance is useless in such a situation)
either b) or c) sounds reasonable to me. but if possible I'd like to avoid a System.exit(). would it be possible to detect this situation in the DocumentNodeStoreService and restart the DocumentNodeStore without the need to restart the JVM or would this lead to an illegal state from a discovery POV? Regards Marcel
