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

Ilya Shishkov updated IGNITE-25615:
-----------------------------------
    Description: 
Only {{CacheInterceptor#onBeforePut}} and {{CacheInterceptor#onAfterPut}} were 
tested, but it seems, that it could happen during other {{CacheInterceptor}} 
methods calls.

*Reproducer:*   [^CacheInterceptorFailureTest.patch]

Also, cache operation raises unexpected {{IgniteException}} instead of 
{{CacheException}}.



  was:
When exception in {{CacheInterceptor#onBeforePut}} occurs and CacheStore is 
configured nodes can fail with critical error.

*Reproducer:*   [^CacheInterceptorFailureTest.patch] 

Behavior depends on such conditions:
# Put is performed from primary or backup node.
# Failure occur on primary, backup or both types of nodes.

If put is performed from node, which does not throw an exception in 
{{CacheInterceptor#onBeforePut}}, but other ones does, then the latter will 
fail. 
Eg. put from primary, but exception is thrown on backup nodes, then backups 
will fail with critical error.




> Failure in CacheInterceptor leads to nodes failures
> ---------------------------------------------------
>
>                 Key: IGNITE-25615
>                 URL: https://issues.apache.org/jira/browse/IGNITE-25615
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Ilya Shishkov
>            Priority: Major
>              Labels: ise
>         Attachments: CacheInterceptorFailureTest.patch
>
>
> Only {{CacheInterceptor#onBeforePut}} and {{CacheInterceptor#onAfterPut}} 
> were tested, but it seems, that it could happen during other 
> {{CacheInterceptor}} methods calls.
> *Reproducer:*   [^CacheInterceptorFailureTest.patch]
> Also, cache operation raises unexpected {{IgniteException}} instead of 
> {{CacheException}}.



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

Reply via email to