[xwiki/xwiki-commons] 0c2607: XCOMMONS-3300: Add a cache loading helper to synch...
Branch: refs/heads/stable-16.10.x Home: https://github.com/xwiki/xwiki-commons Commit: 0c2607a5f495d5e8d2a296624cbc2085769c6f8e https://github.com/xwiki/xwiki-commons/commit/0c2607a5f495d5e8d2a296624cbc20... Author: Michael Hamann <[email protected]> Date: 2025-05-26 (Mon, 26 May 2025) Changed paths: M xwiki-commons-core/xwiki-commons-cache/xwiki-commons-cache-api/pom.xml A xwiki-commons-core/xwiki-commons-cache/xwiki-commons-cache-api/src/main/java/org/xwiki/cache/internal/CacheLoader.java A xwiki-commons-core/xwiki-commons-cache/xwiki-commons-cache-api/src/test/java/org/xwiki/cache/internal/CacheLoaderTest.java Log Message: ----------- XCOMMONS-3300: Add a cache loading helper to synchronize cache loads and invalidations (#1282) * Add a flexible cache loading helper that can be used even in complex situations where multiple caches are involved. (cherry picked from commit 97212ce88fed57c62c3219f5187aa93db212c999) Commit: be401190f868383b70136aa64875c4d81a504f59 https://github.com/xwiki/xwiki-commons/commit/be401190f868383b70136aa64875c4... Author: Michael Hamann <[email protected]> Date: 2025-05-26 (Mon, 26 May 2025) Changed paths: M xwiki-commons-core/xwiki-commons-cache/xwiki-commons-cache-api/src/main/java/org/xwiki/cache/internal/CacheLoader.java M xwiki-commons-core/xwiki-commons-cache/xwiki-commons-cache-api/src/test/java/org/xwiki/cache/internal/CacheLoaderTest.java Log Message: ----------- XCOMMONS-3300: Add a cache loading helper to synchronize cache loads and invalidations * Handle recursive loads as they happen in the XWiki document cache during migrations. (cherry picked from commit ff3d69a6db247acea42ee3f724434103d32dcb5a) Commit: 415d90203a4600accaea53f8511a7d520eb96460 https://github.com/xwiki/xwiki-commons/commit/415d90203a4600accaea53f8511a7d... Author: Michael Hamann <[email protected]> Date: 2025-05-26 (Mon, 26 May 2025) Changed paths: M xwiki-commons-core/xwiki-commons-cache/xwiki-commons-cache-api/pom.xml M xwiki-commons-core/xwiki-commons-cache/xwiki-commons-cache-api/src/main/java/org/xwiki/cache/internal/CacheLoader.java M xwiki-commons-core/xwiki-commons-cache/xwiki-commons-cache-api/src/test/java/org/xwiki/cache/internal/CacheLoaderTest.java Log Message: ----------- XCOMMONS-3300: Add a cache loading helper to synchronize cache loads and invalidations * Protect against further possible deadlocks. * Fix an error related to exceptions being stored indefinitely in the loader. * Extend the tests to cover the newly discovered scenarios. * Increase the code coverage threshold to the actual coverage. (cherry picked from commit 8d5e882bb0fac9aaefeb6d79322c4fb4a627a6f5) Commit: 2698fa7d5001b64c3fba38f2cbf3832def5e6e7b https://github.com/xwiki/xwiki-commons/commit/2698fa7d5001b64c3fba38f2cbf383... Author: Michael Hamann <[email protected]> Date: 2025-05-26 (Mon, 26 May 2025) Changed paths: M xwiki-commons-core/xwiki-commons-cache/xwiki-commons-cache-api/src/test/java/org/xwiki/cache/internal/CacheLoaderTest.java Log Message: ----------- XCOMMONS-3300: Add a cache loading helper to synchronize cache loads and invalidations * Cover more branches by tests. (cherry picked from commit 85b6162394f3d1d828f6695bdabcb278ef49d6b4) Commit: 685b39d1eb5dd1aea57dcb0d5bb253644e631155 https://github.com/xwiki/xwiki-commons/commit/685b39d1eb5dd1aea57dcb0d5bb253... Author: Michael Hamann <[email protected]> Date: 2025-05-26 (Mon, 26 May 2025) Changed paths: M xwiki-commons-core/xwiki-commons-cache/xwiki-commons-cache-api/src/test/java/org/xwiki/cache/internal/CacheLoaderTest.java Log Message: ----------- XCOMMONS-3300: Add a cache loading helper to synchronize cache loads and invalidations * Fix flickering in unit test. (cherry picked from commit 12636845ee87affe4125dfd3444a733ee4825e37) Compare: https://github.com/xwiki/xwiki-commons/compare/5b115f4a7726...685b39d1eb5d To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-commons/settings/notifications
participants (1)
-
XWiki Notifications