]
Radoslav Husar updated WFLY-11154:
----------------------------------
Affects Version/s: 16.0.0.Final
mod_cluster reports "Starting to drain 1 active sessions from
(...) in 0 seconds." even when it waits indefinitely
------------------------------------------------------------------------------------------------------------------
Key: WFLY-11154
URL:
https://issues.jboss.org/browse/WFLY-11154
Project: WildFly
Issue Type: Enhancement
Components: mod_cluster
Affects Versions: 14.0.0.Final, 15.0.0.Beta1, 16.0.0.Final
Reporter: Jan Kasik
Assignee: Radoslav Husar
Priority: Optional
When {{stop}} operation with {{waittime=0}} is called on a mod_cluster node, it wait
indefinitely until all sessions time out. However, following line appears in log:
{code}
INFO [org.jboss.modcluster] (management-handler-thread - 1) MODCLUSTER000046: Starting
to drain 1 active sessions from default-host:/karel in 0 seconds.
{code}
This could confuse someone looking into the log -- they would then think,that this
operation killed sessions even when it didn't.
Suggestion: Replace this message with more accurate one.