[
https://issues.apache.org/jira/browse/IGNITE-28920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anton Vinogradov updated IGNITE-28920:
--------------------------------------
Labels: IEP-132 wire-format (was: IEP-132)
> Reduce MarshallableMessage scope: GridCacheEntryInfo uses marshal hooks only
> to rebase expireTime
> -------------------------------------------------------------------------------------------------
>
> Key: IGNITE-28920
> URL: https://issues.apache.org/jira/browse/IGNITE-28920
> Project: Ignite
> Issue Type: Task
> Reporter: Anton Vinogradov
> Priority: Major
> Labels: IEP-132, wire-format
> Fix For: 2.19
>
>
> GridCacheEntryInfo implements MarshallableMessage, but its
> marshal()/unmarshal() hooks never use the Marshaller: marshal() converts the
> absolute expireTime into a remaining TTL before send, and unmarshal()
> restores the absolute value on the receiver, compensating clock differences
> between nodes. MarshallableMessage should stay reserved for messages that
> actually carry marshalled payload. Proposal: move the expireTime rebase out
> of the marshalling hooks and drop the MarshallableMessage interface from
> GridCacheEntryInfo. Same cleanup direction as IGNITE-28914
> (GridDhtPartitionsFullMessage).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)