You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/08/06 18:18:11 UTC
[GitHub] merlimat opened a new pull request #2316: Fixed refcounting when
processing entries from sql
merlimat opened a new pull request #2316: Fixed refcounting when processing entries from sql
URL: https://github.com/apache/incubator-pulsar/pull/2316
### Motivation
There were 2 issues with ref-count when parsing entries from SQL connector:
1. `entry.getData().length` is actually releasing the buffer after the invocation, so `entry.getDataBuffer()` was getting invalid buffer.
2. `uncompressedPayload.release()` needs to be only invoked once, in the `finally` block
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services