[ https://issues.apache.org/jira/browse/OAK-3250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14712662#comment-14712662 ]
Marcel Reutegger commented on OAK-3250: --------------------------------------- I'm confused. I thought we would shut down the DocumentNodeStore instance. At least in an OSGi environment this would be equivalent to a restart of all components, which depend on it. Doesn't this include the discovery mechanism? > Restart DocumentNodeStore on lease timeout instead of System.exit > ----------------------------------------------------------------- > > Key: OAK-3250 > URL: https://issues.apache.org/jira/browse/OAK-3250 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: core > Affects Versions: 1.3.4 > Reporter: Stefan Egli > Assignee: Stefan Egli > Fix For: 1.3.5 > > > As discussed [on the list|http://markmail.org/thread/uo6n5oozlbhe7ifg] usage > of System.exit is not ideal and one suggested alternative is to follow up on > the idea to instead perform a 'restart of DocumentNodeStore' - while marking > the local instance as 'deactivating' towards discovery-lite-descriptor so > that upper layer discovery.oak can properly send a TOPOLOGY_CHANGING to all > listeners, so that they immediately stop any topology-dependent activity. -- This message was sent by Atlassian JIRA (v6.3.4#6332)