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

Julian Reschke commented on OAK-9170:
-------------------------------------

I believe it would be better not to attempt the "move" operation unless the 
preceeding code executed ok...

> Make loading segment disk cache fail safe in case when write operation is 
> interrupted by failure
> ------------------------------------------------------------------------------------------------
>
>                 Key: OAK-9170
>                 URL: https://issues.apache.org/jira/browse/OAK-9170
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segment-tar
>            Reporter: Miroslav Smiljanic
>            Assignee: Andrei Dulceanu
>            Priority: Major
>             Fix For: 1.36.0
>
>         Attachments: OAK-9170.patch
>
>
> Failure while writing the segment to disk cache, can leave content of the 
> segment partially persisted. That will cause the problems when that same file 
> is later loaded. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to