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/05/18 11:55:00 UTC

[jira] [Assigned] (IGNITE-19381) TimestampAware messages sometimes lacks timestamps

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

Vladislav Pyatkov reassigned IGNITE-19381:
------------------------------------------

    Assignee: Vladislav Pyatkov

> TimestampAware messages sometimes lacks timestamps
> --------------------------------------------------
>
>                 Key: IGNITE-19381
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19381
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Alexander Lapin
>            Assignee: Vladislav Pyatkov
>            Priority: Blocker
>              Labels: ignite-3
>
> h3. Motivation
> While HybridTimestamp refactoring [~ibessonov] noticed that RW related messages might have null as a timestamp that seems to be incorrect. Probably we've missed 
> {code:java}
> .timestampLong(clock.nowLong());{code}
> within some RW  messages, e.g. while building ReadWriteScanRetrieveBatchReplicaRequest.
> h3. Definition of done
> Thus it's required to:
>  * add timestampLong() wherever needed.
>  * add assertion that will check that TimestampAware messages have @NotNull timestamp field.
>  * replace "nullableHybridTimestamp(...)" call with "hybridTimestamp(...), etc. 
>  



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