[ https://issues.apache.org/jira/browse/AVRO-1141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thiruvalluvan M. G. updated AVRO-1141: -------------------------------------- Attachment: AVRO-1141.patch +1 Tested on Cygwin. Added a unit-test to catch the problem. > 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