[
https://issues.apache.org/jira/browse/HBASE-29230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
chenglei updated HBASE-29230:
-----------------------------
Description: When {{RegionReplicationSink.send}} is invoked by
{{RegionReplicationSink.onComplete}}, if all the replicas are failed, it may
exit after polling the SinkEntrys, however ,decreasing the {{pendingSize}} and
{{RegionReplicationBufferManager}} is ignored, and {{ServerCall}} is not
released, which would cause memory leak. (was: When
{{RegionReplicationSink.send}} is invoked by
{{RegionReplicationSink.onComplete}}, if all the replicas are failed, it may
exit after polling the {{SinkEntry}}s, however , decreasing the {{pendingSize}}
and {{RegionReplicationBufferManager}} is ignored, and {{ServerCall}} is not
released, which would cause memory leak.)
> Possible resource leak for RegionReplicationSink.send
> -----------------------------------------------------
>
> Key: HBASE-29230
> URL: https://issues.apache.org/jira/browse/HBASE-29230
> Project: HBase
> Issue Type: Bug
> Components: read replicas
> Affects Versions: 3.0.0-beta-1
> Reporter: chenglei
> Priority: Major
>
> When {{RegionReplicationSink.send}} is invoked by
> {{RegionReplicationSink.onComplete}}, if all the replicas are failed, it may
> exit after polling the SinkEntrys, however ,decreasing the {{pendingSize}}
> and {{RegionReplicationBufferManager}} is ignored, and {{ServerCall}} is not
> released, which would cause memory leak.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)