You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2020/09/04 16:22:00 UTC
[jira] [Issue Comment Deleted] (OAK-9170) Make loading segment disk
cache fail safe in case when write operation is interrupted by failure
[ https://issues.apache.org/jira/browse/OAK-9170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke updated OAK-9170:
--------------------------------
Comment: was deleted
(was: or maybe move "Files.move(tempSegmentFile ..." into the previous try block? Otherwise it might be executed when the code in the previous try-with-resources failed...)
> 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)