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 "Michael Dürig (JIRA)" <ji...@apache.org> on 2018/10/19 09:27:00 UTC

[jira] [Created] (OAK-7852) Blocked backfround flush can cause sever data loss

Michael Dürig created OAK-7852:
----------------------------------

             Summary: Blocked backfround flush can cause sever data loss
                 Key: OAK-7852
                 URL: https://issues.apache.org/jira/browse/OAK-7852
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: segment-tar
            Reporter: Michael Dürig
            Assignee: Michael Dürig
             Fix For: 1.10


When the {{FileStore background task}} fails (e.g. because of a deadlock) and the {{FileStore}} is subsequently shutdown in an unclean way ({{kill -9}}) then there is a risk of a sever data loss. Although a journal could be reconstructed from the segments, there is a chance that most if not all of the revisions written since the failure of the background tasks are inconsistent with a {{SNFE}}. 

The expectation for such a case should be that a journal could be reconstructed from the segments and that all but the last few revisions are consistent.



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