[
https://issues.apache.org/jira/browse/SLING-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575313#action_12575313
]
Felix Meschberger commented on SLING-132:
-----------------------------------------
Refactored AbstractSlingRepository implementing a background thread which
constantly checks for the availability of the configured repository accessing
or re-accessing as required in Rev. 633823.
Adapted jackrabbit-client in Rev. 633824 and jackrabbit-server in Rev. 633825.
> Auto-reconnect to the JCR Repository if it is not found or lost
> ---------------------------------------------------------------
>
> Key: SLING-132
> URL: https://issues.apache.org/jira/browse/SLING-132
> Project: Sling
> Issue Type: Improvement
> Components: Repository
> Reporter: Bertrand Delacretaz
> Priority: Minor
>
> Affects the jackrabbit-client bundle accessing a "remote" repository.
> Currently the respective component just tries to access the repository and
> gives up, if it fails.
> This should be enhanced to:
> * retry in configurable intervals whether the repository is now available
> * find out that a repository may have gone and try to reconnect in the
> same configurable intervals
> Care must be taken in the second case to drop (close ?) any sessions still
> connected with the old disappeared repository.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.