[jboss-jira] [JBoss JIRA] (WFLY-12938) Expired distributed web sessions/SFSBs not properly removed following topology change with no rehash
Ingo Weiss (Jira)
issues at jboss.org
Tue Mar 24 11:28:24 EDT 2020
[ https://issues.redhat.com/browse/WFLY-12938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ingo Weiss updated WFLY-12938:
------------------------------
Labels: downstream_dependency (was: )
> Expired distributed web sessions/SFSBs not properly removed following topology change with no rehash
> ----------------------------------------------------------------------------------------------------
>
> Key: WFLY-12938
> URL: https://issues.redhat.com/browse/WFLY-12938
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 18.0.1.Final
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Priority: Critical
> Labels: downstream_dependency
> Fix For: 19.0.0.Beta1, 19.0.0.Final
>
>
> On topology change, changes to primary session ownership determine when a given member should schedule expiration of a given session, or cancel a scheduled expiration of a previously owned session. Primary ownership is determined by 2 components: the key partitioner and a consistent hash. The key partitioner determines which the segment to which a given key is assigned. A consistent hash determines which member is the primary owner of a given segment.
> Rescheduling of session expiration is triggered from a data rehash event. However, when the second to last member leaves the cluster, there is no data rehash event, thus expired session owned by the leaving member are never removed. To fix this, we must also trigger rescheduling of expiration in the event of a topology change where no rehashing occurs.
> This results in expired web sessions/SFSBs remaining in memory, potentially indefinitely.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list