Branch: refs/heads/stable-17.4.x Home: https://github.com/xwiki/xwiki-platform Commit: 4eade52122e60b314bf1c85df6e5183a74e10277 https://github.com/xwiki/xwiki-platform/commit/4eade52122e60b314bf1c85df6e51... Author: Michael Hamann <[email protected]> Date: 2025-08-06 (Wed, 06 Aug 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