Defect #2186
closedIdentityRoleExpirationTaskExecutor repeated same sequence of identity roles
100%
Description
LRT IdentityRoleExpirationTaskExecutor repeated same sub roles and never ends.
The reproduce of this issues is very randomly, because method IdmIdentityRoleService#findExpiredRoles calls IdmIdentityRoleRepository#findExpiredRoles without any sorting. When the first (or any another) page of identity roles contains only subroles the LRT never ends and still process this page.
Probably most of database version has different default sorting. But sulve this issues with add sorting isn't probably enough :(, maybe find without subroles.
Affected version: probably all from business roles
Files
Updated by Radek Tomiška over 4 years ago
- Assignee set to Radek Tomiška
- Target version set to Rhyolite (9.7.17)
Updated by Radek Tomiška over 4 years ago
- Status changed from New to In Progress
Updated by Radek Tomiška over 4 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Vít Švanda
- Target version changed from Rhyolite (9.7.17) to 10.2.0
- % Done changed from 0 to 90
This bug was solved together with #2053. Task process direct roles only and task is stateful now.
Could you test this issue too, please?
Updated by Vít Švanda over 4 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 90 to 100
I did review it and I wasn't able reproduction this problem now. Thanks for the fix.
Updated by Radek Tomiška over 4 years ago
- Status changed from Resolved to Closed