Marcel Reutegger created OAK-11807:
--------------------------------------

             Summary: Duplicate header after failed SegmentBufferWriter.flush()
                 Key: OAK-11807
                 URL: https://issues.apache.org/jira/browse/OAK-11807
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: segment-tar
            Reporter: Marcel Reutegger
            Assignee: Marcel Reutegger


When SegmentBufferWrite.flush() fails, the next attempt to flush the segment 
will have a duplicate header in the segment data.

With enough failures and re-attempts to write the segment, the segment may even 
go into a state that cannot be written to the SegmentStore. The flush then 
fails with IllegalStateException that complains about "Too much data for a 
segment".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to