Github user wenlong88 commented on the issue:

    https://github.com/apache/flink/pull/3595
  
    @greghogan I come across this bug when we are trying to write some objects 
to a byte array: at first, I wrote a 0 as initial size and then the serialized 
object, after that, I seek back to the start position to correct the size and 
then seek to the end of the written data to continue to write other object. 
When the array can auto expanding, I can just reserve some hole at first and 
then seek back and fill the hole.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to