You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org> on 2012/08/27 06:55:07 UTC
[jira] [Resolved] (AVRO-1141) Avro data files are created without
O_TRUNC
[ https://issues.apache.org/jira/browse/AVRO-1141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thiruvalluvan M. G. resolved AVRO-1141.
---------------------------------------
Resolution: Fixed
Committed revision 1377567.
After verifying that the fix works with Mac and Visual Studio. Than you Martin Nagy.
> 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: AVRO-1141.patch, 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
For more information on JIRA, see: http://www.atlassian.com/software/jira