-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
8.13.0
-
8.13
-
Severity 2 - Major
-
Issue Summary
This issue comes from JFR data from JAC.
Every time we change group membership, nodes in the cluster recalculate the current user count to check against the license. This process is asynchronous and deduplicated, but I believe it needs to be further improved.
For JAC, I've seen it triggered 375 time in a timespan of 4 hours, with each call taking ~20s (that's a 2h total).
It has been a problem in the past and is currently invisible in our synthetic testing.
Steps to Reproduce
- Set up a breakpoint in com.atlassian.jira.application.DefaultApplicationRoleManager#clearUserCounts
- add a user to the system
Expected Results
- the method will not execute the recalc right away
- the method will not be called on all the nodes
Actual Results
- the recalc is initiated right away
- each node recalculates data individually
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- is related to
-
JRASERVER-64384 ActiveUsersCountForLicense cache is populated inefficiently leading to performance degradation across the application
- Closed
-
JRASERVER-71231 Checking users against license tier affects product performance
- Closed