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

Alexander Lapin updated IGNITE-21095:
-------------------------------------
    Description: 
h3. Motivation

Currently it's possible to modify NetworkMessages using setters that'll be 
generated after @WithSetter. Given approach is fragile, e.g. check Safe time 
reordering in partitions and should be reworked with some sort of factory 
methods that will not modify initial object but will update newly created 
instance.
h3. Definition of Done
 * @WithSetter is removed.
 * NetworkMessage modification returns newly created (and modified) object 
instead of in-place modification over initial one.

> Preserve NetworkMessages immutability
> -------------------------------------
>
>                 Key: IGNITE-21095
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21095
>             Project: Ignite
>          Issue Type: New Feature
>            Reporter: Alexander Lapin
>            Priority: Major
>              Labels: ignite-3
>
> h3. Motivation
> Currently it's possible to modify NetworkMessages using setters that'll be 
> generated after @WithSetter. Given approach is fragile, e.g. check Safe time 
> reordering in partitions and should be reworked with some sort of factory 
> methods that will not modify initial object but will update newly created 
> instance.
> h3. Definition of Done
>  * @WithSetter is removed.
>  * NetworkMessage modification returns newly created (and modified) object 
> instead of in-place modification over initial one.



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

Reply via email to