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

 Kirill Sizov updated IGNITE-23081:
-----------------------------------
    Description: 
h3. Motivation

Lease is a valid interval for the primary replica. Leases are distributed by a 
placement driver for a particular period. This period is hardcoded in the lease 
updater and cannot be configurable.
Another interval is an interval that is given by the placement driver to a 
replica to apply a lease.
{code:java}
LeaseUpdater#LEASE_INTERVAL
LeaseUpdater#longLeaseInterval
{code}
h3. Definition of done

Both intervals have to be configurable through cluster configuration.

*Implementation notes*

Need to create a configuration extension that is a subclass of 
ClusterConfigurationSchema where this configuration will be added to. Also need 
better names for the provided properties.

  was:
h3. Motivation
Lease is a valid interval for the primary replica. Leases are distributed by a 
placement driver for a particular period. This period is hardcoded in the lease 
updater and cannot be configurable.
Another interval is an interval that is given by the placement driver to a 
replica to apply a lease.
{code:java}
LeaseUpdater#LEASE_INTERVAL
LeaseUpdater#longLeaseInterval
{code}

h3. Definition of done
Both intervals have to be configurable through cluster configuration.


> Lease configuration
> -------------------
>
>                 Key: IGNITE-23081
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23081
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Vladislav Pyatkov
>            Priority: Major
>              Labels: ignite-3
>
> h3. Motivation
> Lease is a valid interval for the primary replica. Leases are distributed by 
> a placement driver for a particular period. This period is hardcoded in the 
> lease updater and cannot be configurable.
> Another interval is an interval that is given by the placement driver to a 
> replica to apply a lease.
> {code:java}
> LeaseUpdater#LEASE_INTERVAL
> LeaseUpdater#longLeaseInterval
> {code}
> h3. Definition of done
> Both intervals have to be configurable through cluster configuration.
> *Implementation notes*
> Need to create a configuration extension that is a subclass of 
> ClusterConfigurationSchema where this configuration will be added to. Also 
> need better names for the provided properties.



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

Reply via email to