[
https://issues.apache.org/jira/browse/IGNITE-23525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Puchkovskiy updated IGNITE-23525:
---------------------------------------
Description:
*Motivation*
The leases are written in meta storage in batches. If a lease needs to be
prolonged, it is prolonged to maximum possible value (lease interval / 2). This
means that all leases in batch may be prolonged by setting the expiration
timestamp to the same value, which will allow to avoid the necessity of their
prolongation in nearest future and renewal of batch. This also will allow to
compact the serialized representation of batch, because lease expiration time
will be written only once.
*Definition of done*
All leases in batch are prolonged if at least one of them needs to be prolonged.
was:
*Motivation*
The leases are written in meta storage in batches. If a lease needs to be
prolonged, it is prolonged to maximum possible value (lease interval / 2). This
means that all leases in batch may be prolonged by setting the expiration
timestamp to the same value, which will allow to avoid the necessity of their
prolongation in nearest future and renewal of batch. This also will allow to
compact the serialized representation of batch, because lease expiration time
will be written only once.
*Definition of done*
All leases in batch are prolonged if at lease one of them needs to be prolonged.
> Prolong all leases in batch if at least one of them needs to be prolonged
> -------------------------------------------------------------------------
>
> Key: IGNITE-23525
> URL: https://issues.apache.org/jira/browse/IGNITE-23525
> Project: Ignite
> Issue Type: Improvement
> Reporter: Denis Chudov
> Priority: Major
> Labels: ignite-3
>
> *Motivation*
> The leases are written in meta storage in batches. If a lease needs to be
> prolonged, it is prolonged to maximum possible value (lease interval / 2).
> This means that all leases in batch may be prolonged by setting the
> expiration timestamp to the same value, which will allow to avoid the
> necessity of their prolongation in nearest future and renewal of batch. This
> also will allow to compact the serialized representation of batch, because
> lease expiration time will be written only once.
> *Definition of done*
> All leases in batch are prolonged if at least one of them needs to be
> prolonged.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)