You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Mirza Aliev (Jira)" <ji...@apache.org> on 2023/05/05 14:12:00 UTC

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

    [ https://issues.apache.org/jira/browse/IGNITE-19381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17719887#comment-17719887 ] 

Mirza Aliev commented on IGNITE-19381:
--------------------------------------

Waiting for [~sdanilov] PR for adding check for non-null fields in messages are set in message builders. 

> 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
>            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)