[infinispan-issues] [JBoss JIRA] (ISPN-9460) Exceptions thrown in post listener should always be ignored and logged
William Burns (JIRA)
issues at jboss.org
Fri Aug 24 11:12:00 EDT 2018
[ https://issues.jboss.org/browse/ISPN-9460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
William Burns updated ISPN-9460:
--------------------------------
Description:
Today we allow a sorta way to block operations by a listener throwing an exception. This only works with pre events though (which are local only). However this has allowed for post events to throw exceptions and put data in possibly an unknown state (especially around clustered listeners).
We should ensure that during post event listener invocations that we always ignore exceptions and log them even if it is sync.
was:
Today we allow a sorta way to block operations by a listener throwing an exception. This only sorta works with pre events though (which are local only). However this has allowed for post events to throw exceptions and put data in possibly an unknown state (especially around clustered listeners).
We should ensure that during post event listener invocations that we always ignore exceptions and log them even if it is sync.
> Exceptions thrown in post listener should always be ignored and logged
> ----------------------------------------------------------------------
>
> Key: ISPN-9460
> URL: https://issues.jboss.org/browse/ISPN-9460
> Project: Infinispan
> Issue Type: Bug
> Components: Listeners
> Reporter: William Burns
>
> Today we allow a sorta way to block operations by a listener throwing an exception. This only works with pre events though (which are local only). However this has allowed for post events to throw exceptions and put data in possibly an unknown state (especially around clustered listeners).
> We should ensure that during post event listener invocations that we always ignore exceptions and log them even if it is sync.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list