"active-sessions" metric returns an incorrect count on a coordinator node in cluster in EAP 7

Solution Verified - Updated -

Issue

Since EAP 7.0.1 coming with the fix for JBEAP-4646 (upstream WFLY-6453), EAP 7 CLI active-sessions attribute was changed to return active session count with current node locality. However, it returns an incorrect count on a cluster coordinator node.

For example, when two node cluster is configured, it returns total count of active sessions. This happens regardless of using "dist" cache or using "repl" cache.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.0.1 or later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In