You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After switching to dynamic scopes loaded from swagger/openapi docs, multiple scopes with same jansId are created when running 2 replicas of config-api/scim at the same time.
The issue occurs when each of replica sees there are missing scopes in persistence hence each of them tries to insert scopes with same jansId but different DN.
The thing is there's no constraint on jansId to prevent duplicated jansId.
To Reproduce
Steps to reproduce the behavior:
Deploy config-api/scim pod with 2 replicas
Check entries in persistence
See multiple scopes with same jansId are created
Expected behavior
No duplicated scopes for same jansId.
Additional context
Affected version: v1.0.3+
The text was updated successfully, but these errors were encountered:
Describe the bug
After switching to dynamic scopes loaded from swagger/openapi docs, multiple scopes with same jansId are created when running 2 replicas of config-api/scim at the same time.
The issue occurs when each of replica sees there are missing scopes in persistence hence each of them tries to insert scopes with same jansId but different DN.
The thing is there's no constraint on jansId to prevent duplicated jansId.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No duplicated scopes for same jansId.
Additional context
Affected version: v1.0.3+
The text was updated successfully, but these errors were encountered: