-
Bug
-
Resolution: Done
-
Blocker
-
10.0.0.Final
The mod_cluster session drain wait is not ending as expected. mod_cluster adds a session listener to be notified of session destruction. That is fired appropriately, but when the listener is invoked, the infinispan session manager still reports the session as active. Thus, this drain loop doesn't end after the notify because it still sees the active session:
while ((remainingSessions > 0) && (noTimeout || (timeout > 0))) { ModClusterLogger.LOGGER.drainSessions(remainingSessions, context.getHost(), context); listener.wait(noTimeout ? 0 : timeout); current = System.currentTimeMillis(); timeout = end - current; remainingSessions = context.getActiveSessionCount(); }
Can the listeners be invoked when the session is fully removed and no longer considered active?
- is blocked by
-
MODCLUSTER-478 Session draining always takes maximum configured timeout since listener is always notified before session is removed
- Resolved
-
WFLY-6453 InfinispanSessionManager#getLocalSessions should only return sessions with current node locality
- Closed
- is cloned by
-
JBEAP-5278 Session draining always takes maximum configured timeout
- Verified
- is incorporated by
-
WFLY-6852 Upgrade mod_cluster to 1.3.3.Final
- Closed