[Investigation] Seats Usage page delay in updating "Seats in use"
Resolution
Main discussion: thread #361991 (comment 1007271945)
Issue for technical implementation: #382428 (closed)
MR that fixes this issue: !103817 (merged)
Summary
GitLab support has had a few reports of GitLab.com SaaS customers reporting that the Usage Quotas -> Seats (Usage) page appears to occasionally be not live-updating their seats usage when removing users from the group. The documentation states it should be real time updates, versus the group's billing page refreshing only once per day around 12:00 UTC.
This is only in direct relation to the "Seats in use / Seats in subscription" card at the top. The members list is updated immediately in all cases.
There's some related discussion in two slack threads, mainly this one, but a some extra info here as well.
Steps to reproduce
Haven't directly reproduced yet. Only aware of it from customers sharing screenshots. In theory:
- Remove users from a group
- Check the Seats in Use number on Settings > Usage Quotas > Seats page
What is the current bug behavior?
Seats in use / Seats in subscription, occasionally and under unknown circumstances, does not update/refresh immediately when removing users
What is the expected correct behavior?
Seats usage value should update/refresh immediately
Relevant logs and/or screenshots
41 "seats in use" but only 10 shown on the page (default pagination is 20 per page)
5 "seats in use", only 3 shown
Output of checks
This is happening on GitLab.com
Reported examples
- https://gitlab.zendesk.com/agent/tickets/284822
- https://gitlab.zendesk.com/agent/tickets/288564
- https://gitlab.zendesk.com/agent/tickets/298151
- https://gitlab.zendesk.com/agent/tickets/302464
- https://gitlab.zendesk.com/agent/tickets/303685
- https://gitlab.zendesk.com/agent/tickets/328311
- https://gitlab.zendesk.com/agent/tickets/334376
- https://gitlab.zendesk.com/agent/tickets/335600