"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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content