[ 
https://issues.apache.org/jira/browse/IGNITE-19143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17706211#comment-17706211
 ] 

Pavel Tupitsyn commented on IGNITE-19143:
-----------------------------------------

Merged to main: 54b4317d738a1ee7c91b2f128a38d3fdd90ddb14

> ClientInboundMessageHandler memory leak
> ---------------------------------------
>
>                 Key: IGNITE-19143
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19143
>             Project: Ignite
>          Issue Type: Bug
>          Components: thin client
>    Affects Versions: 3.0.0-beta1
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-beta2
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> *AssignmentsChangeListener* is leaked by *ClientInboundMessageHandler*. Each 
> of the following two lines allocate new object implementing Consumer 
> interface, so unsubscribe does not work as expected:
> {code:java}
> igniteTables.addAssignmentsChangeListener(this::onPartitionAssignmentChanged);
> igniteTables.removeAssignmentsChangeListener(this::onPartitionAssignmentChanged);
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to