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

Notifications of events produced by a cluster member that never comes back are never sent

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 14.7
    • Notifications
    • None
    • Unknown

    Description

      Problem

      Each cluster member dispatches to the users (notification menu, mails) only the events it produced itself, and since XWIKI-25258 it also resumes only its own pending live notification mails after a restart. When a member never comes back with the same identifier (scale down of the cluster, identifier changed), the events it had not dispatched yet are never shown to the users, by alert or by mail, and its pending live notification mails are never sent.

      Found while testing XWiki on Kubernetes, where scaling down the cluster removes a member for good.

      Proposal

      Once a member has been absent for observation.remote.reclaimDelay, the cluster singleton node:

      • sends its pending live notification mails, for the events produced before it left;
      • dispatches its events which were not dispatched yet, so they appear in the notification menu and their mails are sent.

      A member which comes back after that finds nothing left to do for these events. Remote observation disabled: no change.

      Attachments

        Issue Links

          Activity

            People

              ciaens Clément Christiaens
              ciaens Clément Christiaens
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: