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

Igor Sapego reassigned IGNITE-19055:
------------------------------------

    Assignee: Igor Sapego

> CPP: Incorrect Compute task failure handling
> --------------------------------------------
>
>                 Key: IGNITE-19055
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19055
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>            Reporter: Mikhail Petrov
>            Assignee: Igor Sapego
>            Priority: Major
>
> All calculation methods, except for those whose names contain the word 
> "affinity", fail to  handle errors that occure during task execution.
> They just fail with the following message:
> {code:java}
> Broken promise. Value will never be set due to internal error.
> {code}
> It appears that the CPP  IgniteEnvironment::ComputeTaskComplete method does 
> not deserialize the exception information at all, which is generated by the 
> Java side (see PlatformAbstractTask#onDone).
> DotNet does not have such problems due to the correct implementation of 
> exception info deserialization (see 
> Apache.Ignite.Core.Impl.Unmanaged.UnmanagedCallbacks.ComputeTaskComplete).
>  *compute_secutiry_test.cpp should be improved to check for the correct 
> security exception message when the issue described in this ticket is 
> resolved.*



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

Reply via email to