Branch: refs/heads/master
Home: https://github.com/xwiki/xwiki-rendering
Commit: 8dc7c5bab97e7e3cf46a7cad8e2e0c484fd63b7d
https://github.com/xwiki/xwiki-rendering/commit/8dc7c5bab97e7e3cf46a7cad8e2…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-04-03 (Thu, 03 Apr 2025)
Changed paths:
M xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/main/java/org/xwiki/rendering/internal/transformation/macro/MacroTransformation.java
Log Message:
-----------
XRENDERING-778: Rendering a page with thousands of macros is slow
* Make SonarQube happy by adding equals, hashCode, and toString to
MacroItem.
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-rendering/settings/notifications
Branch: refs/heads/master
Home: https://github.com/xwiki/xwiki-platform
Commit: 9fff30a007dc2d6bd8a3f4fb557324d138c9ee33
https://github.com/xwiki/xwiki-platform/commit/9fff30a007dc2d6bd8a3f4fb5573…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-04-03 (Thu, 03 Apr 2025)
Changed paths:
M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/XWikiCacheStore.java
M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/store/XWikiCacheStoreTest.java
M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/test/MockitoOldcore.java
Log Message:
-----------
XWIKI-23055: The document cache may not be properly invalidated in case of concurrent loads (#4017)
* Use CacheLoader to synchronize cache loads.
* Add tests for the scenario in the issue and some more scenarios.
* Mock com.xpn.xwiki.store.XWikiStoreInterface.saveXWikiDoc(
com.xpn.xwiki.doc.XWikiDocument, com.xpn.xwiki.XWikiContext, boolean) in
MockitoOldcore to make testing of the cache store easier.
* Reduce duplication in invalidation by always performing null checks
and never storing anything as storing "false" after a document is
deleted might be dangerous.
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
Branch: refs/heads/master
Home: https://github.com/xwiki/xwiki-commons
Commit: 97212ce88fed57c62c3219f5187aa93db212c999
https://github.com/xwiki/xwiki-commons/commit/97212ce88fed57c62c3219f5187aa…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-04-03 (Thu, 03 Apr 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.
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-commons/settings/notifications