Details
Description
Scenario (test case will follow):
1) service configured for RDBDocumentStore with DataSources
2) gets started
3) DataSource unregisters, DocumentNodeStore gets shut down
4) DataSource is registered again
5) restart of DocumentNodeStore fails with NPE because at least one required component (executor?) now is null
We need to decide whether this is a scenario that should be supported or not. If yes, we need to fix it. If no, we need to make the code more robust and improve diagnostics.