[JBoss JIRA] (WFLY-12930) HttpSessionListener.sessionDestroyed event can deadlock if it attempts write operations on a session
by Paul Ferraro (Jira)
Paul Ferraro created WFLY-12930:
-----------------------------------
Summary: HttpSessionListener.sessionDestroyed event can deadlock if it attempts write operations on a session
Key: WFLY-12930
URL: https://issues.redhat.com/browse/WFLY-12930
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 18.0.1.Final
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Infinispan listeners are intentionally non-transactional - and thus should never attempt to perform cache writes.
In order to trigger the requisite session listeners, session destroy events need to lookup the cache entries relevant to a given session via SessionFactory.findValue(..). However, if there are entries missing (e.g. a creation meta data entry w/out a access meta data entry), this method will attempt to purge the orphaned entries. This should never be done within the context of a session destroy event.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months
[JBoss JIRA] (WFLY-12929) HttpSessionListener.sessionDestroyed event can deadlock if it attempts write operations on a session
by Paul Ferraro (Jira)
[ https://issues.redhat.com/browse/WFLY-12929?page=com.atlassian.jira.plugi... ]
Paul Ferraro updated WFLY-12929:
--------------------------------
Summary: HttpSessionListener.sessionDestroyed event can deadlock if it attempts write operations on a session (was: Session remove event can deadlock if it attempts write operations on a session)
> HttpSessionListener.sessionDestroyed event can deadlock if it attempts write operations on a session
> ----------------------------------------------------------------------------------------------------
>
> Key: WFLY-12929
> URL: https://issues.redhat.com/browse/WFLY-12929
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 18.0.1.Final
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Priority: Critical
> Labels: downstream_dependency
>
> Infinispan listeners are intentionally non-transactional - and thus should never attempt to perform cache writes.
> In order to trigger the requisite session listeners, session destroy events need to lookup the cache entries relevant to a given session via SessionFactory.findValue(..). However, if there are entries missing (e.g. a creation meta data entry w/out a access meta data entry), this method will attempt to purge the orphaned entries. This should never be done within the context of a session destroy event.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months
[JBoss JIRA] (WFLY-12929) Session remove event can deadlock if it attempts write operations on a session
by Paul Ferraro (Jira)
[ https://issues.redhat.com/browse/WFLY-12929?page=com.atlassian.jira.plugi... ]
Paul Ferraro updated WFLY-12929:
--------------------------------
Description:
Infinispan listeners are intentionally non-transactional - and thus should never attempt to perform cache writes.
In order to trigger the requisite session listeners, session destroy events need to lookup the cache entries relevant to a given session via SessionFactory.findValue(..). However, if there are entries missing (e.g. a creation meta data entry w/out a access meta data entry), this method will attempt to purge the orphaned entries. This should never be done within the context of a session destroy event.
was:
Activation/passivation listeners are intentionally non-transactional - and thus should never attempt to perform cache writes.
In order to trigger the requisite activation/passivation listeners, activation/passivation events need to lookup the cache entries relevant to a given session via SessionFactory.findValue(..). However, if there are entries missing (e.g. a creation meta data entry w/out a access meta data entry), this method will attempt to purge the orphaned entries. This should never be done within the context of an activation/passivation event.
> Session remove event can deadlock if it attempts write operations on a session
> ------------------------------------------------------------------------------
>
> Key: WFLY-12929
> URL: https://issues.redhat.com/browse/WFLY-12929
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 18.0.1.Final
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Priority: Critical
> Labels: downstream_dependency
>
> Infinispan listeners are intentionally non-transactional - and thus should never attempt to perform cache writes.
> In order to trigger the requisite session listeners, session destroy events need to lookup the cache entries relevant to a given session via SessionFactory.findValue(..). However, if there are entries missing (e.g. a creation meta data entry w/out a access meta data entry), this method will attempt to purge the orphaned entries. This should never be done within the context of a session destroy event.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months
[JBoss JIRA] (WFLY-12929) Session remove event can deadlock if it attempts write operations on a session
by Paul Ferraro (Jira)
[ https://issues.redhat.com/browse/WFLY-12929?page=com.atlassian.jira.plugi... ]
Paul Ferraro updated WFLY-12929:
--------------------------------
Affects Version/s: 18.0.1.Final
(was: 18.0.0.Final)
> Session remove event can deadlock if it attempts write operations on a session
> ------------------------------------------------------------------------------
>
> Key: WFLY-12929
> URL: https://issues.redhat.com/browse/WFLY-12929
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 18.0.1.Final
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Priority: Critical
> Labels: downstream_dependency
>
> Activation/passivation listeners are intentionally non-transactional - and thus should never attempt to perform cache writes.
> In order to trigger the requisite activation/passivation listeners, activation/passivation events need to lookup the cache entries relevant to a given session via SessionFactory.findValue(..). However, if there are entries missing (e.g. a creation meta data entry w/out a access meta data entry), this method will attempt to purge the orphaned entries. This should never be done within the context of an activation/passivation event.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months
[JBoss JIRA] (WFLY-12929) Session remove event can deadlock if it attempts write operations on a session
by Paul Ferraro (Jira)
[ https://issues.redhat.com/browse/WFLY-12929?page=com.atlassian.jira.plugi... ]
Paul Ferraro updated WFLY-12929:
--------------------------------
Fix Version/s: (was: 19.0.0.Beta1)
> Session remove event can deadlock if it attempts write operations on a session
> ------------------------------------------------------------------------------
>
> Key: WFLY-12929
> URL: https://issues.redhat.com/browse/WFLY-12929
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 18.0.1.Final
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Priority: Critical
> Labels: downstream_dependency
>
> Activation/passivation listeners are intentionally non-transactional - and thus should never attempt to perform cache writes.
> In order to trigger the requisite activation/passivation listeners, activation/passivation events need to lookup the cache entries relevant to a given session via SessionFactory.findValue(..). However, if there are entries missing (e.g. a creation meta data entry w/out a access meta data entry), this method will attempt to purge the orphaned entries. This should never be done within the context of an activation/passivation event.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months
[JBoss JIRA] (WFLY-12929) Session remove event can deadlock if it attempts write operations on a session
by Paul Ferraro (Jira)
[ https://issues.redhat.com/browse/WFLY-12929?page=com.atlassian.jira.plugi... ]
Paul Ferraro updated WFLY-12929:
--------------------------------
Git Pull Request: (was: https://github.com/wildfly/wildfly/pull/12705)
> Session remove event can deadlock if it attempts write operations on a session
> ------------------------------------------------------------------------------
>
> Key: WFLY-12929
> URL: https://issues.redhat.com/browse/WFLY-12929
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 18.0.1.Final
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Priority: Critical
> Labels: downstream_dependency
>
> Activation/passivation listeners are intentionally non-transactional - and thus should never attempt to perform cache writes.
> In order to trigger the requisite activation/passivation listeners, activation/passivation events need to lookup the cache entries relevant to a given session via SessionFactory.findValue(..). However, if there are entries missing (e.g. a creation meta data entry w/out a access meta data entry), this method will attempt to purge the orphaned entries. This should never be done within the context of an activation/passivation event.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months
[JBoss JIRA] (WFLY-12929) Session remove event can deadlock if it attempts write operations on a session
by Paul Ferraro (Jira)
Paul Ferraro created WFLY-12929:
-----------------------------------
Summary: Session remove event can deadlock if it attempts write operations on a session
Key: WFLY-12929
URL: https://issues.redhat.com/browse/WFLY-12929
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 18.0.0.Final
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Fix For: 19.0.0.Beta1
Activation/passivation listeners are intentionally non-transactional - and thus should never attempt to perform cache writes.
In order to trigger the requisite activation/passivation listeners, activation/passivation events need to lookup the cache entries relevant to a given session via SessionFactory.findValue(..). However, if there are entries missing (e.g. a creation meta data entry w/out a access meta data entry), this method will attempt to purge the orphaned entries. This should never be done within the context of an activation/passivation event.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months