You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maksim Timonin (Jira)" <ji...@apache.org> on 2024/04/19 14:27:00 UTC

[jira] [Resolved] (IGNITE-22080) DebugCacheVersionConflictResolverImpl doesn't handle value extraction exception

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

Maksim Timonin resolved IGNITE-22080.
-------------------------------------
      Reviewer: Dmitry Pavlov
    Resolution: Fixed

[~dpavlov] [~shishkovilja] thanks for review! merged to master

> DebugCacheVersionConflictResolverImpl doesn't handle value extraction exception
> -------------------------------------------------------------------------------
>
>                 Key: IGNITE-22080
>                 URL: https://issues.apache.org/jira/browse/IGNITE-22080
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Maksim Timonin
>            Assignee: Maksim Timonin
>            Priority: Major
>              Labels: ise
>             Fix For: 2.17
>
>
> In case of using DebugCacheVersionConflictResolverImpl it fails if conflictResolveField is enabled but cache entry doesn't contain the field.
> {code:java}
> Caused by: org.apache.ignite.IgniteException: Failed to get field value [fieldName=version, obj=0]
> 	at org.apache.ignite.internal.util.IgniteUtils.field(IgniteUtils.java:8721) ~[ignite-core-15.0.2.jar:15.0.2]
> 	at org.apache.ignite.cdc.conflictresolve.CacheVersionConflictResolverImpl.value(CacheVersionConflictResolverImpl.java:162) ~[ignite-cdc-ext-15.0.2.jar:15.0.2]
> {code}
> This exception isn't handled at all and might lead to CorruptedTreeException



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