[ https://issues.apache.org/jira/browse/IGNITE-19381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17724409#comment-17724409 ]
Vladislav Pyatkov commented on IGNITE-19381: -------------------------------------------- Merged 22f6d0d1d3c74f40af39ca5f540ccc73abddbae4 > 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 > Time Spent: 10m > Remaining Estimate: 0h > > 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)