joerghoh commented on pull request #18: URL: https://github.com/apache/sling-org-apache-sling-jcr-repoinit/pull/18#issuecomment-857406442
Hi Carsten, this problem is not restricted to the creation of paths only, but can happen with every JCR operation; the last instance I recall the repoinit execution failed when an exceptions was thrown during the registration of a mixin. Also the session.save() operation is centralized in the RepositoryInitializerFactory, changing it would require changes to all Operations. Regarding logging: I will change it, so that only the exception of the last retry is logged; that means that if during the retry operation different RepositoryExceptions occurr the first ones will be swallowed and not logged. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
