You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Manfred Baedke (Jira)" <ji...@apache.org> on 2024/07/01 12:03:00 UTC

[jira] [Assigned] (OAK-10451) UserPrincipalProvider may cause many conflicts when under load

     [ https://issues.apache.org/jira/browse/OAK-10451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manfred Baedke reassigned OAK-10451:
------------------------------------

    Assignee: Manfred Baedke  (was: Nicola Scendoni)

> UserPrincipalProvider may cause many conflicts when under load
> --------------------------------------------------------------
>
>                 Key: OAK-10451
>                 URL: https://issues.apache.org/jira/browse/OAK-10451
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, security
>            Reporter: Nicola Scendoni
>            Assignee: Manfred Baedke
>            Priority: Major
>             Fix For: 1.66.0
>
>         Attachments: LoginTest_20231010_172626_with_patch.csv, LoginTest_20231010_173013_without_patch.csv
>
>
> UserPrincipalProvider can be configured to periodically cache group membership by writing group principals on a rep:cache node. This will result in thundering herd problem when the system is under load and the expiration time for the cache is reached. Incoming requests that authenticate concurrently will all try to refresh the cache and cause conflicts because each request tries to set a new expiration time that is slightly different from the others.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)