avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Nagy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-1141) Avro data files are created without O_TRUNC
Date Tue, 21 Aug 2012 13:19:37 GMT

     [ 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

        

Mime
View raw message