Investigate max and active users count
This issue is an investigation of the behaviour we're seeing on this license issue where the user's max users are decreasing as their active users decrease.
The client is on version 12.9.2-ee (0ad76f4d).
Summary of behaviour in license issue:
Customer sent screenshot to sales rep:
Customer deactivated users and sent another screenshot:
We then asked for the output of sudo gitlab-rails runner 'p User.active.count'
and sudo gitlab-rails runner 'p ::HistoricalData.max_historical_user_count'
and both outputs showed 170
.
We are trying to find out why the max users count decreased and then increased again. It seems to be changing in relation to the active users count.