[ https://issues.apache.org/jira/browse/OAK-10451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17854326#comment-17854326 ]
Julian Reschke commented on OAK-10451: -------------------------------------- {noformat} [WARNING] Files with unapproved licenses: /home/jenkins/jenkins-agent/workspace/Jackrabbit/jackrabbit-oak-trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/user/PrincipalMembershipReaderTest.java {noformat} > 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 > 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)