[
https://issues.apache.org/jira/browse/OAK-11807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcel Reutegger resolved OAK-11807.
------------------------------------
Fix Version/s: 1.84.0
Resolution: Fixed
> 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
> Fix For: 1.84.0
>
>
> 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)