Branch: refs/heads/stable-17.2.x
Home:
https://github.com/xwiki/xwiki-platform
Commit: 69ab113c7db9448773c389f35013647eee963042
https://github.com/xwiki/xwiki-platform/commit/69ab113c7db9448773c389f35013…
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