Actions
Defect #1705
closedCheck running operation for same automatic role (recount automatic role task ends with exception, after last rule is removed)
Start date:
06/05/2019
Due date:
% Done:
100%
Estimated time:
Affected versions:
Owner:
Description
Please disallows running two and more operations for same automatic role. For example I remove last rule for automatic roles this operation execute one LRT with remove identity roles. Immediate after this operation i create new request for same automatic role with add some new rules. This operation execute another LRT for same role.
This beahvior can throw exception with deadlocks on database or some strange behavior during assign new roles.
< 2019-06-05 07:46:43.051 CEST > DETAIL: parameters: $1 = 'idm-primary', $2 = 'CREATED' < 2019-06-05 07:46:55.257 CEST > ERROR: deadlock detected < 2019-06-05 07:46:55.257 CEST > DETAIL: Process 30697 waits for ExclusiveLock on tuple (17,48) of relation 2279145 of database 2277391; blocked by process 6652. Process 6652 waits for ShareLock on transaction 50256652; blocked by process 4554. Process 4554 waits for ShareLock on transaction 50256058; blocked by process 30697. Process 30697: update idm_auto_role_request
Related issues
Actions