[
https://issues.apache.org/jira/browse/IGNITE-23246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vyacheslav Koptilin reassigned IGNITE-23246:
--------------------------------------------
Assignee: Denis Chudov
> Lease agreements might leak
> ---------------------------
>
> Key: IGNITE-23246
> URL: https://issues.apache.org/jira/browse/IGNITE-23246
> Project: Ignite
> Issue Type: Bug
> Reporter: Vladislav Pyatkov
> Assignee: Denis Chudov
> Priority: Major
> Labels: ignite-3
>
> h3. Motivation
> Agreements are used to consider a lease, but unlike leases, the agreements
> are stored in memory.
> {code}
> /** Lease agreements which are in progress of negotiation. */
> private final Map<ReplicationGroupId, LeaseAgreement> leaseToNegotiate;
> {code}
> These agreements exist only in PD active-actor, but in the case where the
> active-actor does not change for a long time, we would get agreements for
> removed replication groups.
> The type of agreement is useless but consumes a lot of memory.
> h3. Definition of done
> Agreemens should be deleted ether with replication group stop or when the
> agreement is expired.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)