Branch: refs/heads/backport/stable-17.4.x/pr-4404
Home: https://github.com/xwiki/xwiki-platform
Commit: 568f3fca734f37b4c06db2032da6a83a1c3e13b4
https://github.com/xwiki/xwiki-platform/commit/568f3fca734f37b4c06db2032da6…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-07-31 (Thu, 31 Jul 2025)
Changed paths:
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/java/org/xwiki/notifications/notifiers/internal/UserEventDispatcher.java
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/test/java/org/xwiki/notifications/notifiers/internal/UserEventDispatcherTest.java
Log Message:
-----------
XWIKI-23419: Notification pre-filtering is slow with lots of users due to lots of Solr queries (#4404)
* Don't ever check if mails are pre-filtered as this just duplicates the
logic of the atomic update that we already use.
* Only check for notification statuses when a user is actually listening
to an event.
* Remove unused futures.
* Don't mark an event as pre-filtered after filtering for the users on
the subwiki before filtering for the main wiki users.
* Wait for all events of the batch at once, don't wait for every event
to be committed.
(cherry picked from commit e31a79c94fc3d27c0a9927960fa263b479d34069)
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
Branch: refs/heads/backport/stable-16.10.x/pr-4404
Home: https://github.com/xwiki/xwiki-platform
Commit: 9b7f9a9cc87a42cbfd5a68d695fb4086b8de37d1
https://github.com/xwiki/xwiki-platform/commit/9b7f9a9cc87a42cbfd5a68d695fb…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-07-31 (Thu, 31 Jul 2025)
Changed paths:
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/java/org/xwiki/notifications/notifiers/internal/UserEventDispatcher.java
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/test/java/org/xwiki/notifications/notifiers/internal/UserEventDispatcherTest.java
Log Message:
-----------
XWIKI-23419: Notification pre-filtering is slow with lots of users due to lots of Solr queries (#4404)
* Don't ever check if mails are pre-filtered as this just duplicates the
logic of the atomic update that we already use.
* Only check for notification statuses when a user is actually listening
to an event.
* Remove unused futures.
* Don't mark an event as pre-filtered after filtering for the users on
the subwiki before filtering for the main wiki users.
* Wait for all events of the batch at once, don't wait for every event
to be committed.
(cherry picked from commit e31a79c94fc3d27c0a9927960fa263b479d34069)
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-platform
Commit: e31a79c94fc3d27c0a9927960fa263b479d34069
https://github.com/xwiki/xwiki-platform/commit/e31a79c94fc3d27c0a9927960fa2…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-07-31 (Thu, 31 Jul 2025)
Changed paths:
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/java/org/xwiki/notifications/notifiers/internal/UserEventDispatcher.java
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/test/java/org/xwiki/notifications/notifiers/internal/UserEventDispatcherTest.java
Log Message:
-----------
XWIKI-23419: Notification pre-filtering is slow with lots of users due to lots of Solr queries (#4404)
* Don't ever check if mails are pre-filtered as this just duplicates the
logic of the atomic update that we already use.
* Only check for notification statuses when a user is actually listening
to an event.
* Remove unused futures.
* Don't mark an event as pre-filtered after filtering for the users on
the subwiki before filtering for the main wiki users.
* Wait for all events of the batch at once, don't wait for every event
to be committed.
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
Branch: refs/heads/backport/stable-17.4.x/pr-4399
Home: https://github.com/xwiki/xwiki-platform
Commit: daae6c0626f280c5a7aed94ca7a87a66a656b1ba
https://github.com/xwiki/xwiki-platform/commit/daae6c0626f280c5a7aed94ca7a8…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-07-31 (Thu, 31 Jul 2025)
Changed paths:
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-api/src/main/java/org/xwiki/notifications/filters/internal/scope/ScopeNotificationFilterPreference.java
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-api/src/main/java/org/xwiki/notifications/filters/internal/scope/ScopeNotificationFilterPreferencesHierarchy.java
Log Message:
-----------
XWIKI-23254: Page loads are slow for users with many watched pages (#4399)
* Don't compare all preferences with each other but only compare
potential parents with potential children. This should help for the
very likely case that users have primarily (or exclusively) inclusive
notification filters.
(cherry picked from commit a8234d4db2cf9cf4b55ff7155c247aa1984326ae)
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
Branch: refs/heads/backport/stable-16.10.x/pr-4399
Home: https://github.com/xwiki/xwiki-platform
Commit: cbcedaff81bb809c183616a7ecf3f48078ab4167
https://github.com/xwiki/xwiki-platform/commit/cbcedaff81bb809c183616a7ecf3…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-07-31 (Thu, 31 Jul 2025)
Changed paths:
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-api/src/main/java/org/xwiki/notifications/filters/internal/scope/ScopeNotificationFilterPreference.java
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-api/src/main/java/org/xwiki/notifications/filters/internal/scope/ScopeNotificationFilterPreferencesHierarchy.java
Log Message:
-----------
XWIKI-23254: Page loads are slow for users with many watched pages (#4399)
* Don't compare all preferences with each other but only compare
potential parents with potential children. This should help for the
very likely case that users have primarily (or exclusively) inclusive
notification filters.
(cherry picked from commit a8234d4db2cf9cf4b55ff7155c247aa1984326ae)
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-platform
Commit: a8234d4db2cf9cf4b55ff7155c247aa1984326ae
https://github.com/xwiki/xwiki-platform/commit/a8234d4db2cf9cf4b55ff7155c24…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-07-31 (Thu, 31 Jul 2025)
Changed paths:
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-api/src/main/java/org/xwiki/notifications/filters/internal/scope/ScopeNotificationFilterPreference.java
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-api/src/main/java/org/xwiki/notifications/filters/internal/scope/ScopeNotificationFilterPreferencesHierarchy.java
Log Message:
-----------
XWIKI-23254: Page loads are slow for users with many watched pages (#4399)
* Don't compare all preferences with each other but only compare
potential parents with potential children. This should help for the
very likely case that users have primarily (or exclusively) inclusive
notification filters.
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications