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

Marcel Reutegger commented on OAK-11807:
----------------------------------------

Proposed fix: https://github.com/apache/jackrabbit-oak/pull/2392

> 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
>            Priority: Minor
>
> 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