[ 
https://issues.apache.org/jira/browse/OAK-7854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16660355#comment-16660355
 ] 

Michael Dürig commented on OAK-7854:
------------------------------------

Patch implementing the approach mentioned in my previous comment: 
https://github.com/mduerig/jackrabbit-oak/commit/6be30670810357bedb622ec1536dc512922e43de

> Add liveliness monitoring for FileStore background operations  
> ---------------------------------------------------------------
>
>                 Key: OAK-7854
>                 URL: https://issues.apache.org/jira/browse/OAK-7854
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segment-tar
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>            Priority: Major
>             Fix For: 1.10
>
>
> The FileStore background operations are ultimately executed through a 
> {{ScheduledExecutorService}}. In the case this scheduling gets blocked (e.g. 
> because of a deadlock or lock contention in one of its tasks) there is chance 
> of repository corruption. 
> To minimise potential data loss we should implement monitoring endpoints for 
> the vital background operations. This would allow deployments to take action 
> early in case of failures and thus minimise potential data loss and simplify 
> recovery.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to