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 "Angela Schreiber (Jira)" <ji...@apache.org> on 2024/06/12 13:47:00 UTC

[jira] [Resolved] (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 ]

Angela Schreiber resolved OAK-10451.
------------------------------------
    Fix Version/s: 1.66.0
       Resolution: Fixed

> 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: Nicola Scendoni
>            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)