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

Aleksandr Chesnokov resolved IGNITE-28360.
------------------------------------------
    Resolution: Later

The issue is that {{IgniteTxKey}} cannot be safely used as a key in a {{Map}} 
during deserialization, because its {{hashCode}} may be invoked before 
{{finishUnmarshal}} is completed.

To fix this, we need to avoid using {{IgniteTxKey}} as a map key at the 
{{readMap}} stage and instead postpone map construction until after 
unmarshalling is fully finished, or use a structure that does not rely on 
{{hashCode}} during deserialization.

> Remove redundant collections conversion logic from 
> GridDistributedTxPrepareRequest
> ----------------------------------------------------------------------------------
>
>                 Key: IGNITE-28360
>                 URL: https://issues.apache.org/jira/browse/IGNITE-28360
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Ilya Shishkov
>            Assignee: Aleksandr Chesnokov
>            Priority: Minor
>              Labels: ise
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {{@Order}} annotation can be used for #dhtVers field (remove #dhtVerKeys and 
> #dhtVerVals).



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

Reply via email to