Anton created AVRO-2463:
---------------------------

             Summary: 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.0
            Reporter: Anton
         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 uncommented it passes but if its present it fails




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

Reply via email to