[
https://issues.apache.org/jira/browse/AVRO-1141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Nagy updated AVRO-1141:
------------------------------
Attachment: cpp_filestream_o_trunc.patch
Patch fixing the issue.
> Avro data files are created without O_TRUNC
> -------------------------------------------
>
> Key: AVRO-1141
> URL: https://issues.apache.org/jira/browse/AVRO-1141
> Project: Avro
> Issue Type: Bug
> Components: c++
> Affects Versions: 1.7.1
> Reporter: Martin Nagy
> Attachments: cpp_filestream_o_trunc.patch
>
>
> Avro data files are created without O_TRUNC. If the file existed before and
> the new file is smaller than the old one, the resulting data file will be
> corrupted (containing remnants of the old file).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira