Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12923

Realtime watchlist duplicates emails in cluster mode

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A
    • Awaiting Contributor feedback

    Description

      When RealtimeNotificationGenerator listener is triggered, it doesn't check whether event is local or remote. This leads to situation when notification (i.e. email) is sent from every node in cluster.

      Although it's similar to XWIKI-6235 (which is more general and considers Scheduler more), solution to solve this is quite easy.

      There are two solutions how to solve this, because watchlist doesn't need to be enabled on every node.

      1) Drop events from remote sources
      2) Drop events from remote sources only if watchlist.realtime.allow_remote is true (allows administrators to run watchlist only on one node -> one source of connections to SMTP server)

      Attachments

        Issue Links

          Activity

            People

              DarkKnightCZ Lukas Raska
              DarkKnightCZ Lukas Raska
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: