[ 
https://issues.apache.org/jira/browse/AVRO-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anton Tagunov updated AVRO-2463:
--------------------------------
    Affects Version/s:     (was: 1.9.0)
                       1.9.1

> DataFileWriter.sync() returns bad value if flushOnEveryBlock = false
> --------------------------------------------------------------------
>
>                 Key: AVRO-2463
>                 URL: https://issues.apache.org/jira/browse/AVRO-2463
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.9.1
>            Reporter: Anton Tagunov
>            Priority: Major
>         Attachments: AvroTest.java
>
>
> {quote}DataFileWriter.sync(){quote}
> should
> {quote}return out.tell() + vout.bytesBuffered();{quote}
> not just
> {quote}return out.tell();{quote}
> Please consider attached AvroTest.java.
> If {{w.setFlushOnEveryBlock(false);}} is commented out it passes
> while as written it fails



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to