Branch: refs/heads/stable-16.10.x
Home:
https://github.com/xwiki/xwiki-platform
Commit: 1a61751fa74b3095e514898220dc204348c442c3
https://github.com/xwiki/xwiki-platform/commit/1a61751fa74b3095e514898220dc…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-03-25 (Tue, 25 Mar 2025)
Changed paths:
M
xwiki-platform-core/xwiki-platform-user/xwiki-platform-user-default/src/main/java/org/xwiki/user/internal/group/AbstractGroupCache.java
M
xwiki-platform-core/xwiki-platform-user/xwiki-platform-user-default/src/test/java/org/xwiki/user/internal/group/GroupsCacheTest.java
Log Message:
-----------
XWIKI-23021: Groups are loaded repeatedly after a group change
* Check again inside the write lock if the entry has been added to the
cache in the meantime.
* Add a test that reproduces the previous race condition using several
threads and waits at dedicated places to trigger the condition
reproducibly.
(cherry picked from commit 6c6b99daf8c2daf86ab8848975ff16f65cc8dd38)
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-platform/settings/notifications