You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vyacheslav Koptilin (Jira)" <ji...@apache.org> on 2025/04/29 10:36:00 UTC

[jira] [Assigned] (IGNITE-23246) Lease agreements might leak

     [ 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)