You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladislav Pyatkov (Jira)" <ji...@apache.org> on 2023/09/25 10:15:00 UTC

[jira] [Updated] (IGNITE-20485) Allow to configure lease interval

     [ https://issues.apache.org/jira/browse/IGNITE-20485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladislav Pyatkov updated IGNITE-20485:
---------------------------------------
    Description: 
*Motivation*
Currently, the lease interval depends on the lease update frequency and is calculated like this:
{code:title=LeaseUpdater.java}
private static final long LEASE_INTERVAL = 10 * UPDATE_LEASE_MS;
{code}
The interval is impossible to configure; that way, it makes the test longer than it can be with a short lease interval.

*Implementation notes*
Do not forget to check TODOs.

*Definition of done*
Allow to configure lease intervat at least the system properties to use in the test.
Also, the ability to configure should be available through the Ignite property.

  was:
*Motivation*
Currently, the lease interval depends on the lease update frequency and is calculated like this:
{code:title=LeaseUpdater}
private static final long LEASE_INTERVAL = 10 * UPDATE_LEASE_MS;
{code}
The interval is impossible to configure; that way, it makes the test longer than it can be with a short lease interval.

*Implementation notes*
Do not forget to check TODOs.

*Definition of done*
Allow to configure lease intervat at least the system properties to use in the test.
Also, the ability to configure should be available through the Ignite property.


> Allow to configure lease interval
> ---------------------------------
>
>                 Key: IGNITE-20485
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20485
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Vladislav Pyatkov
>            Priority: Major
>              Labels: ignite-3
>
> *Motivation*
> Currently, the lease interval depends on the lease update frequency and is calculated like this:
> {code:title=LeaseUpdater.java}
> private static final long LEASE_INTERVAL = 10 * UPDATE_LEASE_MS;
> {code}
> The interval is impossible to configure; that way, it makes the test longer than it can be with a short lease interval.
> *Implementation notes*
> Do not forget to check TODOs.
> *Definition of done*
> Allow to configure lease intervat at least the system properties to use in the test.
> Also, the ability to configure should be available through the Ignite property.



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