You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Anton (JIRA)" <ji...@apache.org> on 2019/07/04 22:23:00 UTC
[jira] [Updated] (AVRO-2463) DataFileWriter.sync() returns bad
value if flushOnEveryBlock = false
[ https://issues.apache.org/jira/browse/AVRO-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anton updated AVRO-2463:
------------------------
Description:
{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
was:
{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
> 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
> 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 uncommented it passes but if its present it fails
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)